Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否在Workerman\RedisQueue\Client队列执行的时候,带上队列的id #19

Open
kylin987 opened this issue Aug 23, 2024 · 0 comments

Comments

@kylin987
Copy link

大约在218行,增加第3个参数,$package['id'],因为该队列没有ack,如果想自己处理的ack的话,有个id就更好了,目前我是在data里自行增加了job_id,但是会有些影响。

当然了,如果增加的话,那么Webman\RedisQueue\Consumer的consume方法,也需要增加第二个参数jobId,同时可能implements该接口类的消费队列,都需增加第2个参数,影响较大,作者可以评估下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant