Fixed Hyperf\Nats\Annotation\Consumer pool does not works. (#897)

* Fixed pool for `Hyperf\Nats\Annotation\Consumer` does not works.

* Update CHANGELOG.md
This commit is contained in:
李铭昕 2019-11-08 11:54:51 +08:00 committed by GitHub
parent 4d18782f4c
commit fd8b5320a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# v1.1.6 - TBD
## Fixed
- [#897](https://github.com/hyperf/hyperf/pull/897) Fixed `pool` for `Hyperf\Nats\Annotation\Consumer` does not works.
# v1.1.5 - 2019-11-07
## Added

View File

@ -46,7 +46,7 @@ class ConsumerManager
$annotation->subject && $instance->setSubject($annotation->subject);
$annotation->queue && $instance->setQueue($annotation->queue);
$annotation->name && $instance->setName($annotation->name);
$annotation->pool && $instance->setName($annotation->pool);
$annotation->pool && $instance->setPool($annotation->pool);
$nums = $annotation->nums;
$process = $this->createProcess($instance);