Migrate queues to Horizon (#621)

This commit is contained in:
Saeed Vaziry
2025-06-22 11:07:23 +02:00
committed by GitHub
parent e59448d30a
commit 5689e751af
36 changed files with 549 additions and 345 deletions

View File

@ -34,15 +34,12 @@ public function createRules(array $input): array
public function connect(): bool
{
try {
ds($this->getApiUrl());
$res = Http::withToken($this->data()['token'])
->get($this->getApiUrl().'/version');
} catch (Exception) {
return false;
}
ds($res->status());
return $res->successful();
}