Skip to content

Commit

Permalink
Delay main RequestLimiter further, #115
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Feb 22, 2016
1 parent a1e8af0 commit 25da5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArchiSteamFarm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ internal static void Restart() {
internal static async Task LimitSteamRequestsAsync() {
await SteamSemaphore.WaitAsync().ConfigureAwait(false);
var releaseLater = Task.Run(async () => {
await Utilities.SleepAsync(5000).ConfigureAwait(false); // We must add some delay to not get caught by Steam rate limiter
await Utilities.SleepAsync(7000).ConfigureAwait(false); // We must add some delay to not get caught by Steam rate limiter
SteamSemaphore.Release();
});
}
Expand Down

0 comments on commit 25da5fb

Please sign in to comment.