22d8528d90
Implement Device Cache to replace EFCoreSecondLevelCacheInterceptor
Original-merge: b7bc0e1c96
Merged-by: joshuaboniface <joshua@boniface.me>
Backported-by: Bond_009 <bond.009@outlook.com>
26 lines
891 B
C#
26 lines
891 B
C#
using System.Collections.Generic;
|
|
using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
|
|
|
|
namespace Emby.Server.Implementations
|
|
{
|
|
/// <summary>
|
|
/// Static class containing the default configuration options for the web server.
|
|
/// </summary>
|
|
public static class ConfigurationOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets a new copy of the default configuration options.
|
|
/// </summary>
|
|
public static Dictionary<string, string?> DefaultConfiguration => new()
|
|
{
|
|
{ HostWebClientKey, bool.TrueString },
|
|
{ DefaultRedirectKey, "web/" },
|
|
{ FfmpegProbeSizeKey, "1G" },
|
|
{ FfmpegAnalyzeDurationKey, "200M" },
|
|
{ PlaylistsAllowDuplicatesKey, bool.FalseString },
|
|
{ BindToUnixSocketKey, bool.FalseString },
|
|
{ SqliteCacheSizeKey, "20000" }
|
|
};
|
|
}
|
|
}
|