From 69521a326db65dfd3bf3f32a86311faea9e50783 Mon Sep 17 00:00:00 2001 From: Citrinate Date: Thu, 19 Dec 2024 18:10:42 -0500 Subject: [PATCH] Increase delay when hitting SteamApps.RequestFreeLicense rate limit --- FreePackages/PackageQueue/PackageQueue.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FreePackages/PackageQueue/PackageQueue.cs b/FreePackages/PackageQueue/PackageQueue.cs index c07ec34..d6ad6c1 100644 --- a/FreePackages/PackageQueue/PackageQueue.cs +++ b/FreePackages/PackageQueue/PackageQueue.cs @@ -149,7 +149,8 @@ private async Task 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;