mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
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:
parent
4d18782f4c
commit
fd8b5320a7
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user