aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Program.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index b59fca83..639d3a88 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -1229,6 +1229,10 @@ namespace slskd
/*
set (and validate) our desired PRAGMAs
+
+ note: synchronous mode wants to default to 2, and setting it here may not actually do anything
+ an alternative would be to set it at the start of each new connection, but i'm unsure if that
+ would have the intended effect. revisit later.
*/
ctx.Database.OpenConnection();
var conn = ctx.Database.GetDbConnection();