aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ConfigurationOptions.cs
diff options
context:
space:
mode:
authorMark Lopez <m@silvenga.com>2023-06-05 11:46:13 -0500
committerGitHub <noreply@github.com>2023-06-05 10:46:13 -0600
commit29368a1566afcbfa861e3cf431156ee0f73f1f2b (patch)
tree8d9825575c67c3d96b7e9e400b62ae0dd18f5d82 /Emby.Server.Implementations/ConfigurationOptions.cs
parentaae22865a035219daff37ef3bb7c101dd9d15e82 (diff)
Source SQLite cache_size from an Environment Variable (#9666)
Diffstat (limited to 'Emby.Server.Implementations/ConfigurationOptions.cs')
-rw-r--r--Emby.Server.Implementations/ConfigurationOptions.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ConfigurationOptions.cs b/Emby.Server.Implementations/ConfigurationOptions.cs
index 630265dac..f0c267627 100644
--- a/Emby.Server.Implementations/ConfigurationOptions.cs
+++ b/Emby.Server.Implementations/ConfigurationOptions.cs
@@ -11,14 +11,15 @@ namespace Emby.Server.Implementations
/// <summary>
/// Gets a new copy of the default configuration options.
/// </summary>
- public static Dictionary<string, string?> DefaultConfiguration => new Dictionary<string, string?>
+ public static Dictionary<string, string?> DefaultConfiguration => new()
{
{ HostWebClientKey, bool.TrueString },
{ DefaultRedirectKey, "web/" },
{ FfmpegProbeSizeKey, "1G" },
{ FfmpegAnalyzeDurationKey, "200M" },
{ PlaylistsAllowDuplicatesKey, bool.FalseString },
- { BindToUnixSocketKey, bool.FalseString }
+ { BindToUnixSocketKey, bool.FalseString },
+ { SqliteCacheSizeKey, "20000" }
};
}
}