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;
|
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:
|
||||||
|
|||||||
@@ -54,6 +54,6 @@ class PurgeAllianceAssets implements ShouldQueue
|
|||||||
{
|
{
|
||||||
Asset::truncate();
|
Asset::truncate();
|
||||||
|
|
||||||
FetchAllianceAssets::dispatch();
|
FetchAllianceAssets::dispatch()->delay(Carbon::now()->addSeconds(30));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user