Queue Worker filtered removing messages from all queues
未关闭
@markstory 已经在做这个了。
开始于 2023年2月28日。
bug
- 主要语言
- PHP
- 星标
- 36
- 派生
- 22
- 平均合并
- 20 小时 36 分钟
- 30 天内合并 PR
- 2
描述
Hello,
I'm using cake4 and mongoDb as transport
I've the following scenario where I've 2 different messages in 2 different queues
QueueManager::push(ExampleJob::class, ['id' => 1, 'code' => 'oi1'], ['queue' => 'test']);
QueueManager::push(ExampleJob::class, ['id' => 1, 'code' => 'oi1'], ['queue' => 'new-test']);
And when I run the worker by queue, all messages are removed from the database but only the correct queue is called.
If I run the cli below, both jobs will be removed from database, but only the first one will run.
bin/cake queue worker --queue=test
Am I using it wrongly or is this a bug?
Thank you
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。