Vincent Driessen
|
94258761ae
|
Make string formatting consistent
|
10 years ago |
Selwin Ong
|
faf9d3e668
|
Added clean_registries(queue) function to clean job registries related to that queue.
|
10 years ago |
Selwin Ong
|
70d5f971bd
|
Jobs from FinishedJobRegistry that are moved to FailedQueue should have "failed" as status.
|
10 years ago |
Selwin Ong
|
dac0be6cc7
|
Added DeferredJobsRegistry to keep track of deferred jobs.
|
10 years ago |
Nic Cope
|
09cab7a90d
|
Allow maximum job age to be specified when cleaning up or getting expired jobs from a registry.
This ensures that all jobs cleaned from a started registry end up in the failed queue.
|
10 years ago |
Nic Cope
|
6ab7070a92
|
Rename registry timeout to registry ttl
This matches job.cleanup() better and (I think) makes the purpose slightly clearer.
|
10 years ago |
Nic Cope
|
9f699d758d
|
Any negative number should cause a job to live forever in a registry.
While the documentation explicitly mentions ttl=-1, this matches better the behaviour of the job.cleanup() method.
|
10 years ago |
Nic Cope
|
8fa184b86b
|
Ensure the FinishedJobRegistry honors an 'infinite' result_ttl of -1
|
10 years ago |
Selwin Ong
|
2307bc8253
|
Added FinishedJobRegistry to monitor finished jobs.
|
10 years ago |
Selwin Ong
|
74a9982ecb
|
Fixed a bug where expired jobs aren't deleted from JobStartedRegistry.
|
10 years ago |
Selwin Ong
|
fae7df5aa7
|
Renamed StartedJobRegistry.get_job_count to StartedJobRegistry.count for consistency.
|
10 years ago |
Selwin Ong
|
41ae1ce8a7
|
Added a registry.get_job_count().
|
10 years ago |
Selwin Ong
|
6d79082b62
|
Call move_expired_jobs_to_failed_queue before returning job_ids.
|
10 years ago |
Selwin Ong
|
9341a4a33d
|
Renamed WorkingQueue to StartedJobRegistry.
|
10 years ago |