Skip to content

RQ v0.11 changed worker_ttl #61

@tabletcorry

Description

@tabletcorry

The new version of RQ (v0.11) changed the way the default worker_ttl is accepted:

rq/rq@3133d94#diff-1aac421e8c53e895ee40f3b7dc63144fR158

So using Flask-RQ2's CLI breaks. The following works around this issue (by explicitly setting the default), until it is updated:

flask rq worker --worker-ttl 420

This fix would be to not pass the None to RQ, or to teach Flask-RQ2 the default in RQ.

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