mirror of https://github.com/rq/rq.git
Added a note to indicate that `registry.remove(job, delete_job=True)` is new
This commit is contained in:
parent
80c82f731f
commit
cf50151853
|
@ -46,6 +46,8 @@ print('Job in registry %s' % (job.id in registry))
|
||||||
|
|
||||||
## Removing Jobs
|
## Removing Jobs
|
||||||
|
|
||||||
|
_New in version 1.2.0_
|
||||||
|
|
||||||
To remove a job from a job registry, use `registry.remove()`. This is useful
|
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
|
when you want to manually remove jobs from a registry, such as deleting failed
|
||||||
jobs before they expire from `FailedJobRegistry`.
|
jobs before they expire from `FailedJobRegistry`.
|
||||||
|
|
Loading…
Reference in New Issue