mirror of https://github.com/peter4431/rq.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76ac0afbcd
* cleanup jobs that are not really running due to zombie workers
* remove registry entries for zombie jobs
* return only the job ids on cleanup
* test zombie job cleanup
* format code
* rename variable to explain that second element in tuple is expiry, not score
* remove worker_key
* detect zombie jobs using old heartbeats
* reuse get_expired_job_ids
* set score using current_timestamp
* test idle jobs using stale heartbeats
* extract timeout into variable
* move heartbeats into StartedJobRegistry
* use registry.heartbeat in tests
* remove heartbeats when job removed from StartedJobRegistry
* remove idle and expired jobs from both wip and heartbeats set
* send heartbeat_ttl to registry.add
* typo
* revert everything 😶
* only keep job heartbeats as score (and get rid of job timeouts as scores
* calculate heartbeat_ttl in an overrideable function + override it in SimpleWorker + move storing StartedJobRegistry scores to job.heartbeat()
* set heartbeat to monitoring interval for infinite timeouts
* track elapsed_execution_time as part of worker
* reset current job working time when work on a job is done
* persisting the job working time as part of monitoring
|
4 years ago | |
---|---|---|
.. | ||
config_files | 6 years ago | |
ssl_config | 4 years ago | |
__init__.py | 4 years ago | |
fixtures.py | 4 years ago | |
test_cli.py | 4 years ago | |
test_commands.py | 4 years ago | |
test_connection.py | 5 years ago | |
test_decorator.py | 4 years ago | |
test_fixtures.py | 4 years ago | |
test_helpers.py | 10 years ago | |
test_job.py | 4 years ago | |
test_queue.py | 4 years ago | |
test_registry.py | 5 years ago | |
test_scheduler.py | 4 years ago | |
test_sentry.py | 6 years ago | |
test_serializers.py | 5 years ago | |
test_utils.py | 4 years ago | |
test_worker.py | 4 years ago | |
test_worker_registration.py | 4 years ago |