fixed job issue
This commit is contained in:
@@ -52,8 +52,6 @@ class MiningTaxesAdminController extends Controller
|
||||
$athanors = $sHelper->GetStructuresByType('Athanor');
|
||||
$tataras = $sHelper->GetStructuresByType('Tatara');
|
||||
|
||||
dd($athanors);
|
||||
|
||||
foreach($athanors as $athanor) {
|
||||
$structures->push([
|
||||
$athanor->structure_name => $athanor->structure_id,
|
||||
|
||||
@@ -156,8 +156,8 @@ class FetchAllianceStructures implements ShouldQueue
|
||||
Log::critical("Gateway timeout in FetchAllianceStructures. Releasing the job back to the queue in 30 seconds.");
|
||||
$this->release(30);
|
||||
break;
|
||||
case 201:
|
||||
//Good response code
|
||||
case 201: //Good response code
|
||||
$this->delete();
|
||||
break;
|
||||
//If no code is given, then log and break out of switch.
|
||||
default:
|
||||
|
||||
@@ -10,7 +10,7 @@ use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
//Jobs
|
||||
use App\Jobs\Commands\FetchAllianceStructures;
|
||||
use App\Jobs\Commands\Structures\FetchAllianceStructures;
|
||||
|
||||
//Models
|
||||
use App\Models\Structure\Structure;
|
||||
|
||||
Reference in New Issue
Block a user