mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
chore: Update UpdateCoolifyJob to dispatch CheckForUpdatesJob synchronously
This commit is contained in:
1 parent
5a82395bb7
commit
64146a46fc
1 file changed
+1
-1
@@ -22,8 +22,8 @@ class UpdateCoolifyJob implements ShouldBeEncrypted, ShouldQueue
|
||||
public function handle(): void
|
||||
{
|
||||
try {
|
||||
$settings = InstanceSettings::get();
|
||||
CheckForUpdatesJob::dispatchSync();
|
||||
$settings = InstanceSettings::get();
|
||||
if (! $settings->new_version_available) {
|
||||
Log::info('No new version available. Skipping update.');
|
||||
|
||||
|
||||
Reference in new issue
Block a user