mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Add Env Var to disable second level cache Original-merge: 95c7d997c13cfcd4038174ba00525d5628475fb7 Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
		
			
				
	
	
		
			27 lines
		
	
	
		
			959 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			959 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" },
 | 
						|
            { SqliteDisableSecondLevelCacheKey, bool.FalseString }
 | 
						|
        };
 | 
						|
    }
 | 
						|
}
 |