Skip to content

Custom job IDs containing : are no longer supported after migrating to rq 2.0 version #2151

Closed
@Marishka17

Description

@Marishka17

The parse_job_id function introduced in RQ version 2.0 breaks support for jobs with custom IDs containing :. If there are no plans to continue supporting such custom IDs, this should be clearly mentioned in the documentation.

For instance:

queue = Queue('queue_name', connection=connection)
queue.enqueue_call(func, job_id='job:1')
worker = Worker(queue)
assert worker.work(burst=True)

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