Open msabramo opened 9 years ago
I use a queue named "long" and I noticed that the process title was always "retools: Waiting for ng" for some strange reason.
"retools: Waiting for ng"
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.
lstrip
>>> queue_name = 'long' >>> queue_name.lstrip('retools:queue:') 'ng'
This inappropriate usage is in 2 places:
I'll send a PR to fix this...
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.This inappropriate usage is in 2 places:
I'll send a PR to fix this...