mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -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)
|
CacheDuration = TimeSpan.FromMinutes(5)
|
||||||
},
|
},
|
||||||
new BuiltInSettingsModel
|
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,
|
Key = Keys.KickEnabled,
|
||||||
Regex = "true|false",
|
Regex = "true|false",
|
||||||
@@ -428,8 +419,7 @@ public static class BuiltIn
|
|||||||
Description = "URL for the restream",
|
Description = "URL for the restream",
|
||||||
Default = "No URL set",
|
Default = "No URL set",
|
||||||
IsSecret = false,
|
IsSecret = false,
|
||||||
// No cache as it's infrequently accessed and should take effect immediately if a user updates it
|
CacheDuration = TimeSpan.FromHours(1)
|
||||||
CacheDuration = TimeSpan.Zero
|
|
||||||
},
|
},
|
||||||
new BuiltInSettingsModel
|
new BuiltInSettingsModel
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user