mirror of
https://github.com/zeropingheroes/lancache-autofill
synced 2024-11-10 02:14:12 +00:00
Fix for #29
This commit is contained in:
parent
16c02fbc2a
commit
b5f6b87b97
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class StartDownloading extends Command
|
|||
$this->error('Failed to download ' . $appName . ' (App ID: ' . $item->app_id . ') for ' . $item->platform . ' from Steam account ' . $account);
|
||||
$this->updateQueueItemStatus($item->id, 'failed', $message);
|
||||
|
||||
if(str_contains(strtolower($message), 'rate limit') ) {
|
||||
if(str_contains(strtolower($message), strtolower('rate limit')) ) {
|
||||
$this->warn('Rate limit detected - sleeping for 1 minute');
|
||||
sleep(60);
|
||||
$this->checkSteamAccountsAreAuthorised();
|
||||
|
|
Loading…
Reference in a new issue