Skip to content

A self-hosted media server and file management system

fix: horizon restart does not exist

aminnausin135aab6be20f
diff --git a/app/Services/Server/QueueControlService.php b/app/Services/Server/QueueControlService.php
index 9c6b52d8..52706922 100644
--- a/app/Services/Server/QueueControlService.php
+++ b/app/Services/Server/QueueControlService.php
@@ -8,7 +8,7 @@ use Laravel\Horizon\Contracts\MasterSupervisorRepository;
class QueueControlService {
public function restart(): void {
if (config('queue.default') === 'redis' && $this->horizonIsRunning()) {
- Artisan::call('horizon:restart');
+ Artisan::call('horizon:terminate');
}
}