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...
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
lstripdoesn'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...