mirror of
https://github.com/jlengrand/coolify.git
synced 2026-03-10 08:11:23 +00:00
feat: use new ServerReachabilityChanged event instead of isDirty
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Events\ServerReachabilityChanged;
|
||||
use App\Models\Team;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
@@ -92,6 +93,8 @@ class CloudCleanupSubscriptions extends Command
|
||||
$server->update([
|
||||
'ip' => '1.2.3.4',
|
||||
]);
|
||||
|
||||
ServerReachabilityChanged::dispatch($server);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user