mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
I'm an idiot, setting a value clears the cache for that setting so no need to make RestreamUrl never cache
This commit is contained in:
@@ -332,15 +332,6 @@ public static class BuiltIn
|
||||
CacheDuration = TimeSpan.FromMinutes(5)
|
||||
},
|
||||
new BuiltInSettingsModel
|
||||
{
|
||||
Key = Keys.KiwiFarmsToken,
|
||||
Regex = ".+",
|
||||
Description = "Last successfully retrieved forum token (will be refreshed automatically if expired)",
|
||||
Default = null,
|
||||
IsSecret = true,
|
||||
CacheDuration = TimeSpan.FromHours(1)
|
||||
},
|
||||
new BuiltInSettingsModel
|
||||
{
|
||||
Key = Keys.KickEnabled,
|
||||
Regex = "true|false",
|
||||
@@ -428,8 +419,7 @@ public static class BuiltIn
|
||||
Description = "URL for the restream",
|
||||
Default = "No URL set",
|
||||
IsSecret = false,
|
||||
// No cache as it's infrequently accessed and should take effect immediately if a user updates it
|
||||
CacheDuration = TimeSpan.Zero
|
||||
CacheDuration = TimeSpan.FromHours(1)
|
||||
},
|
||||
new BuiltInSettingsModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user