summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-08-12 04:37:19 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 19:13:16 -0400
commitd2a134ae085d71169ede616847d08a95aa8da609 (patch)
tree4c4d3432f4b3bb20642346b888bfc036c7fa55c9 /src/SMAPI.Web
parent86b2fef8ce5295e4572f78af65053d418171ad37 (diff)
downloadSMAPI-d2a134ae085d71169ede616847d08a95aa8da609.tar.gz
SMAPI-d2a134ae085d71169ede616847d08a95aa8da609.tar.bz2
SMAPI-d2a134ae085d71169ede616847d08a95aa8da609.zip
reduce automatic retry window for background wiki fetches (#651)
Diffstat (limited to 'src/SMAPI.Web')
-rw-r--r--src/SMAPI.Web/BackgroundService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI.Web/BackgroundService.cs b/src/SMAPI.Web/BackgroundService.cs
index cb400fbe..ee7a60f3 100644
--- a/src/SMAPI.Web/BackgroundService.cs
+++ b/src/SMAPI.Web/BackgroundService.cs
@@ -77,6 +77,7 @@ namespace StardewModdingAPI.Web
** Tasks
****/
/// <summary>Update the cached wiki metadata.</summary>
+ [AutomaticRetry(Attempts = 3, DelaysInSeconds = new[] { 30, 60, 120 })]
public static async Task UpdateWikiAsync()
{
WikiModList wikiCompatList = await new ModToolkit().GetWikiCompatibilityListAsync();