首页 > 解决方案 > How to start/stop specific horizon supervisor?

问题描述

I have a horizon question. Is there horizon have a command where i can stop/pause specific supervisor?

for example: i have 5 supervisor running like supervisor-1, supervisor-2 ... supervisor-5 in horizon.php.

what i want to achieve is how to pause/stop the supervisor-1 for temporary and enable it later?

标签: laravellaravel-5horizon

解决方案


简短的回答:你不能。因为主主管将重新启动地平线配置文件中定义的所有失败的主管。但是 Laravel 支持(不推荐)手动管理每个主管。穆罕默德·赛义德(Mohamed Said)深入探讨了地平线的运作方式


推荐阅读