mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 22:16:15 +00:00
Migrate queues to Horizon (#621)
This commit is contained in:
@ -58,8 +58,7 @@ public function install(Request $request): RedirectResponse
|
||||
}
|
||||
|
||||
Plugins::cleanup();
|
||||
})
|
||||
->onConnection('default');
|
||||
})->onQueue('default');
|
||||
|
||||
return back()->with('info', 'Plugin is being installed...');
|
||||
}
|
||||
@ -89,8 +88,7 @@ public function uninstall(Request $request): RedirectResponse
|
||||
}
|
||||
|
||||
Plugins::cleanup();
|
||||
})
|
||||
->onConnection('default');
|
||||
})->onQueue('default');
|
||||
|
||||
return back()->with('warning', 'Plugin is being uninstalled...');
|
||||
}
|
||||
|
Reference in New Issue
Block a user