-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
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:
- https://github.com/bbangert/retools/blob/master/retools/queue.py#L364
- https://github.com/bbangert/retools/blob/master/retools/queue.py#L431
I'll send a PR to fix this...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels