reduce automatic retry window for background wiki fetches (#651)

This commit is contained in:
Jesse Plamondon-Willard 2019-08-12 04:37:19 -04:00
parent 86b2fef8ce
commit d2a134ae08
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ namespace StardewModdingAPI.Web
** Tasks ** Tasks
****/ ****/
/// <summary>Update the cached wiki metadata.</summary> /// <summary>Update the cached wiki metadata.</summary>
[AutomaticRetry(Attempts = 3, DelaysInSeconds = new[] { 30, 60, 120 })]
public static async Task UpdateWikiAsync() public static async Task UpdateWikiAsync()
{ {
WikiModList wikiCompatList = await new ModToolkit().GetWikiCompatibilityListAsync(); WikiModList wikiCompatList = await new ModToolkit().GetWikiCompatibilityListAsync();