STD: Postpone registering updated app change numbers

This is important as we don't want to miss a depot, by moving it below we ensure that all depot tasks succeeded before we mark appIDs as "finished with"
This commit is contained in:
Archi 2021-11-15 19:53:46 +01:00
parent 19f63c94bf
commit 62effc4af1
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

View file

@ -423,8 +423,6 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotS
}
}
GlobalCache.UpdateAppChangeNumbers(appChangeNumbers);
if (depotTasks.Count > 0) {
bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.BotRetrievingDepotKeys, depotTasks.Count));
@ -442,6 +440,8 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotS
GlobalCache.UpdateDepotKeys(results);
}
GlobalCache.UpdateAppChangeNumbers(appChangeNumbers);
}
}