update to some jobs to try to keep them from failing
This commit is contained in:
@@ -154,6 +154,7 @@ class FetchAllianceAssets implements ShouldQueue
|
||||
break;
|
||||
case 201:
|
||||
//Good response code
|
||||
$this->delete();
|
||||
break;
|
||||
//If no code is given, then log and break out of switch.
|
||||
default:
|
||||
|
||||
@@ -54,6 +54,6 @@ class PurgeAllianceAssets implements ShouldQueue
|
||||
{
|
||||
Asset::truncate();
|
||||
|
||||
FetchAllianceAssets::dispatch();
|
||||
FetchAllianceAssets::dispatch()->delay(Carbon::now()->addSeconds(30));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -204,6 +204,7 @@ class UpdateAllianceWalletJournalPage implements ShouldQueue
|
||||
break;
|
||||
case 201:
|
||||
//Good response code
|
||||
$this->delete();
|
||||
break;
|
||||
//If no code is given, then log and break out of switch.
|
||||
default:
|
||||
|
||||
@@ -55,8 +55,8 @@ class PurgeAllianceStructures implements ShouldQueue
|
||||
{
|
||||
Structure::truncate();
|
||||
Service::truncate();
|
||||
|
||||
FetchAllianceStructures::dispatch();
|
||||
|
||||
FetchAllianceStructures::dispatch()->delay(Carbon::now()->addSeconds(30));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user