update to some jobs to try to keep them from failing

This commit is contained in:
2021-06-04 20:03:35 +09:00
parent 0ef8dca814
commit 109d70363d
4 changed files with 5 additions and 3 deletions

View File

@@ -154,6 +154,7 @@ class FetchAllianceAssets implements ShouldQueue
break; break;
case 201: case 201:
//Good response code //Good response code
$this->delete();
break; break;
//If no code is given, then log and break out of switch. //If no code is given, then log and break out of switch.
default: default:

View File

@@ -54,6 +54,6 @@ class PurgeAllianceAssets implements ShouldQueue
{ {
Asset::truncate(); Asset::truncate();
FetchAllianceAssets::dispatch(); FetchAllianceAssets::dispatch()->delay(Carbon::now()->addSeconds(30));
} }
} }

View File

@@ -204,6 +204,7 @@ class UpdateAllianceWalletJournalPage implements ShouldQueue
break; break;
case 201: case 201:
//Good response code //Good response code
$this->delete();
break; break;
//If no code is given, then log and break out of switch. //If no code is given, then log and break out of switch.
default: default:

View File

@@ -55,8 +55,8 @@ class PurgeAllianceStructures implements ShouldQueue
{ {
Structure::truncate(); Structure::truncate();
Service::truncate(); Service::truncate();
FetchAllianceStructures::dispatch(); FetchAllianceStructures::dispatch()->delay(Carbon::now()->addSeconds(30));
} }
/** /**