mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
Fixed config-etcd does not works in coroutine style server. (#2790)
* Fixed config-etcd does not works in coroutine style server. * Update CHANGELOG-2.0.md
This commit is contained in:
parent
f092abb0c4
commit
6e6c77c9d9
@ -4,6 +4,7 @@
|
||||
|
||||
- [#2783](https://github.com/hyperf/hyperf/pull/2783) Fixed nsq consumer does not works in coroutine style server.
|
||||
- [#2788](https://github.com/hyperf/hyperf/pull/2788) Fixed call non-static method `__handlePropertyHandler()` statically in class proxy.
|
||||
- [#2790](https://github.com/hyperf/hyperf/pull/2790) Fixed `BootProcessListener` of `config-etcd` does not works in coroutine style server.
|
||||
|
||||
## Optimized
|
||||
|
||||
|
@ -20,6 +20,7 @@ use Hyperf\Contract\StdoutLoggerInterface;
|
||||
use Hyperf\Event\Contract\ListenerInterface;
|
||||
use Hyperf\Framework\Event\BeforeWorkerStart;
|
||||
use Hyperf\Process\Event\BeforeProcessHandle;
|
||||
use Hyperf\Server\Event\MainCoroutineServerStart;
|
||||
use Hyperf\Utils\Coordinator\Constants;
|
||||
use Hyperf\Utils\Coordinator\CoordinatorManager;
|
||||
use Hyperf\Utils\Coroutine;
|
||||
@ -69,6 +70,7 @@ class BootProcessListener implements ListenerInterface
|
||||
BeforeWorkerStart::class,
|
||||
BeforeProcessHandle::class,
|
||||
BeforeHandle::class,
|
||||
MainCoroutineServerStart::class,
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user