diff options
| author | Selwin Ong <selwin.ong@gmail.com> | 2019-11-26 19:52:19 +0700 |
|---|---|---|
| committer | Selwin Ong <selwin.ong@gmail.com> | 2019-11-26 19:52:19 +0700 |
| commit | cf501518534429640a9a6d14e022f9329225e701 (patch) | |
| tree | fff0af5e137469f76417aa90d096fcbfcd2b0ef1 | |
| parent | 80c82f731f57186f8c97239b38100f4f793e19cf (diff) | |
| download | rq-cf501518534429640a9a6d14e022f9329225e701.tar.gz | |
Added a note to indicate that `registry.remove(job, delete_job=True)` is new
| -rw-r--r-- | docs/docs/job_registries.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/docs/job_registries.md b/docs/docs/job_registries.md index 8fd93ca..cbd739c 100644 --- a/docs/docs/job_registries.md +++ b/docs/docs/job_registries.md @@ -46,6 +46,8 @@ print('Job in registry %s' % (job.id in registry)) ## Removing Jobs +_New in version 1.2.0_ + To remove a job from a job registry, use `registry.remove()`. This is useful when you want to manually remove jobs from a registry, such as deleting failed jobs before they expire from `FailedJobRegistry`. |
