Added server event constants ON_WORKER_ERROR. (#1416)

This commit is contained in:
李铭昕 2020-03-13 10:06:44 +08:00 committed by GitHub
parent 6cd7c860f3
commit 719351085d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -34,6 +34,11 @@ class SwooleEvent
*/
const ON_WORKER_EXIT = 'workerExit';
/**
* Swoole onWorkerError event.
*/
const ON_WORKER_ERROR = 'workerError';
/**
* Swoole onPipeMessage event.
*/