reduce automatic retry window for background wiki fetches (#651)
This commit is contained in:
parent
86b2fef8ce
commit
d2a134ae08
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue