Skip to content

Commit

Permalink
Increase delay when hitting SteamApps.RequestFreeLicense rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Dec 19, 2024
1 parent 1b602a2 commit 69521a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FreePackages/PackageQueue/PackageQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ private async Task<EResult> ClaimFreeApp(uint appID) {

if (response.Result == EResult.RateLimitExceeded) {
// Note: this is the rate limit for this api, and is unrelated to the package limit
return EResult.Timeout;
// I still treat this like a package rate limit however, as it seems to behave similarly, and doing this will avoid a lot of errors
return EResult.RateLimitExceeded;
}

return EResult.Fail;
Expand Down

0 comments on commit 69521a3

Please sign in to comment.