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:
李铭昕 2020-11-11 12:06:59 +08:00 committed by GitHub
parent f092abb0c4
commit 6e6c77c9d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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,
];
}