Skip to content

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

@kylin987

Description

@kylin987

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions