diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-08-12 04:37:19 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 19:13:16 -0400 |
commit | d2a134ae085d71169ede616847d08a95aa8da609 (patch) | |
tree | 4c4d3432f4b3bb20642346b888bfc036c7fa55c9 /src/SMAPI.Web | |
parent | 86b2fef8ce5295e4572f78af65053d418171ad37 (diff) | |
download | SMAPI-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.cs | 1 |
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(); |