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:
barelyprofessional
2024-09-01 20:26:04 +08:00
parent 67cd007252
commit 62304bccdb

View File

@@ -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
{