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.
Ruslan Mullakhmetov ed264f08bb
feat: added job heartbeat to track whether job is actually executing (#1349)
* feat: added job heartbeat to track whether job is actually executing

heartbeat might be needed in cases when worker was hardkilled or the whole VM/docker was forcibly rebooted.

* fixed tests

* fixed test coverage issue

* chore: renamed job.heartbeat stuff according to review feedback

* chore: pipelined worker heartbeat and job heartbeat

* docs: documented job.heartbeat property

* fixes after review

* docs: updated last_heartbeat description

* chore: review

Co-authored-by: Ruslan Mullakhmetov <ruslan@twentythree.net>
4 years ago
..
config_files RQ v1.0! (#1059) 6 years ago
__init__.py refactor: use try ImportError instead of py-version check (#1034) 6 years ago
fixtures.py feat: avoided "zombie" processes after killing work horse (#1348) 4 years ago
test_cli.py Job scheduling (#1163) 5 years ago
test_commands.py Workers can listen to external commands via pubsub (#1363) 4 years ago
test_connection.py Fixes Job.fetch when return value is unpickleable (#1184) 5 years ago
test_decorator.py Allow retries to be set through decorator (#1319) 4 years ago
test_helpers.py Restored the ability to specify connection params in config 10 years ago
test_job.py feat: added job heartbeat to track whether job is actually executing (#1349) 4 years ago
test_queue.py get_redis_server_version() should handle 4 digit version numbers (#1322) 4 years ago
test_registry.py Job retry feature. Docs WIP (#1299) 4 years ago
test_scheduler.py scheduler: now operates with chunks of jobs (#1355) 4 years ago
test_sentry.py RQ v1.0! (#1059) 6 years ago
test_serializers.py Use pickle.HIGHEST_PROTOCOL by default (#1254) 5 years ago
test_utils.py get_redis_server_version() should handle 4 digit version numbers (#1322) 4 years ago
test_worker.py feat: avoided "zombie" processes after killing work horse (#1348) 4 years ago
test_worker_registration.py RQ v1.0! (#1059) 6 years ago