Add workers to servers (#547)

This commit is contained in:
Saeed Vaziry
2025-03-16 14:09:15 +01:00
committed by GitHub
parent 48ae561ea4
commit 72352aad8d
42 changed files with 603 additions and 454 deletions

View File

@ -12,7 +12,7 @@ class SyncDatabaseUsers
public function sync(Server $server): void
{
$service = $server->database();
if (! $service) {
if (! $service instanceof \App\Models\Service) {
return;
}
/** @var Database $handler */

View File

@ -12,7 +12,7 @@ class SyncDatabases
public function sync(Server $server): void
{
$service = $server->database();
if (! $service) {
if (! $service instanceof \App\Models\Service) {
return;
}
/** @var Database $handler */