Selwin Ong
Selwin Ong
> There is a lack of information on how to set the test environment, or maybe it's more of a lack of knowledge from my side. In any case, that...
@jtfidje sorry for replying so late. Next time feel free to ping me using @selwin to get my attention so a notification arrives in my inbox. Have you looked at...
Yeah, so apparently there's a bug that the cleaning lock does not get deleted after maintenance is done. There's a PR addressing this issue, but it's not done yet. If...
@buroa can you try running this again with DEBUG level logging on RQ? So we can actually see what RQ does when handling exceptions and requeueing.
> I run rq worker --with-scheduler on ECS, using supervisord to create 10 processes. I also autoscale my ECS service, so occasionally I will have 10 separate containers with 10...
> However if the worker just started, last_cleaned_at is None and should_run_maintenance_tasks returns True immediately. This could cause should_run_maintenance_tasks to return True too quickly if workers are short-lived 👉 Why...
Hey, sorry for the late reply. You're right, I don't see an obvious place to do this. There are a few places where `horse_pid` is set to 0 like here...
As far as I know, [this is](https://github.com/rq/rq/blob/960d9e512317ff64564a1170c1529f6ef2a6496d/rq/worker.py#L206) the only place where we use `client` command. If you can open a PR to fix this, I'll be more than happy to...
`cleanup()` is called within count because sometimes this command is called without any workers running. As far as I know, `cleanup()` executes very quickly, even in registries with lots of...