summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-16 20:28:16 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-16 20:28:16 -0400
commitada351b163d928b5c01787e3ac3ad25ee6fe1ce4 (patch)
tree2e2d3be433d95652a450be3e0c729374c244a740 /src/SMAPI.Web/Framework/ConfigModels
parentb5866c2c06bb0d3a993091e507f4eabb4aeaf8e7 (diff)
downloadSMAPI-ada351b163d928b5c01787e3ac3ad25ee6fe1ce4.tar.gz
SMAPI-ada351b163d928b5c01787e3ac3ad25ee6fe1ce4.tar.bz2
SMAPI-ada351b163d928b5c01787e3ac3ad25ee6fe1ce4.zip
reduce cache time for failed update checks to 5 minutes (#454)
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs
index 58c3a100..fc3b7dc2 100644
--- a/src/SMAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs
+++ b/src/SMAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs
@@ -6,8 +6,11 @@ namespace StardewModdingAPI.Web.Framework.ConfigModels
/*********
** Accessors
*********/
- /// <summary>The number of minutes update checks should be cached before refetching them.</summary>
- public int CacheMinutes { get; set; }
+ /// <summary>The number of minutes successful update checks should be cached before refetching them.</summary>
+ public int SuccessCacheMinutes { get; set; }
+
+ /// <summary>The number of minutes failed update checks should be cached before refetching them.</summary>
+ public int ErrorCacheMinutes { get; set; }
/// <summary>A regex which matches SMAPI-style semantic version.</summary>
/// <remarks>Derived from SMAPI's SemanticVersion implementation.</remarks>