diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-11-11 19:30:04 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-11-11 19:30:04 -0600 |
| commit | efe4164f73e9c13fdaf099b41a9230b4d87960d9 (patch) | |
| tree | 58e3d0639e389de1acd4954d68223b5394ece558 /src | |
| parent | 87c5d116ebfdcbc1798b3b05969c0ce8a1f62376 (diff) | |
| download | slskd-efe4164f73e9c13fdaf099b41a9230b4d87960d9.tar.gz | |
add SQLite flags
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 16 |
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> |
