fixed job issue

This commit is contained in:
2021-06-03 00:39:33 +09:00
parent 814db0307a
commit 68ce69ec70
3 changed files with 3 additions and 5 deletions

View File

@@ -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,

View File

@@ -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:

View File

@@ -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;