mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 03:37:44 +08:00
Added server event constants ON_WORKER_ERROR
. (#1416)
This commit is contained in:
parent
6cd7c860f3
commit
719351085d
@ -3,6 +3,7 @@
|
||||
## Added
|
||||
|
||||
- [#1402](https://github.com/hyperf/hyperf/pull/1402) Added `Hyperf\DbConnection\Annotation\Transactional` to begin a transaction automatically.
|
||||
- [#1416](https://github.com/hyperf/hyperf/pull/1416) Added server event constants `ON_WORKER_ERROR`.
|
||||
|
||||
## Fixed
|
||||
|
||||
|
@ -34,6 +34,11 @@ class SwooleEvent
|
||||
*/
|
||||
const ON_WORKER_EXIT = 'workerExit';
|
||||
|
||||
/**
|
||||
* Swoole onWorkerError event.
|
||||
*/
|
||||
const ON_WORKER_ERROR = 'workerError';
|
||||
|
||||
/**
|
||||
* Swoole onPipeMessage event.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user