aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 38416ca2..a569841f 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -461,6 +461,22 @@ namespace slskd
[EnvironmentVariable("OPTIMISTIC_RELAY_FILE_INFO")]
[Description("use uploaded relay shares as source of truth for file existence and size")]
public bool OptimisticRelayFileInfo { get; init; } = false;
+
+ /// <summary>
+ /// Gets a value indicating whether SQLite cache sharing should be disabled (set to Private).
+ /// </summary>
+ [Argument(default, "no-sqlite-cache-sharing")]
+ [EnvironmentVariable("NO_SQLITE_CACHE_SHARING")]
+ [Description("disable SQLite cache sharing")]
+ public bool NoSqliteCacheSharing { get; init; } = false;
+
+ /// <summary>
+ /// Gets a value indicating whether SQLite pooling should be disabled.
+ /// </summary>
+ [Argument(default, "no-sqlite-pooling")]
+ [EnvironmentVariable("NO_SQLITE_POOLING")]
+ [Description("disable SQLite pooling")]
+ public bool NoSqlitePooling { get; init; } = false;
}
/// <summary>