Skip to content

retools.queue butchers queue names #41

@msabramo

Description

@msabramo

I use a queue named "long" and I noticed that the process title was always "retools: Waiting for ng" for some strange reason.

Tonight, I finally looked into it and found out why.

It's because lstrip doesn't do what the author of the code who used it thinks it does.

>>> queue_name = 'long'
>>> queue_name.lstrip('retools:queue:')
'ng'

This inappropriate usage is in 2 places:

I'll send a PR to fix this...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions