Skip to content

Commit

Permalink
Merge branch 'samuelcolvin:main' into fix376
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKs authored Mar 21, 2023
2 parents 405e4fd + e0cd916 commit 6f80c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Sometimes you want a job to only be run once at a time (eg. a backup) or once fo
invoices for a particular company).

*arq* supports this via custom job ids, see :func:`arq.connections.ArqRedis.enqueue_job`. It guarantees
that a job with a particular ID cannot be enqueued again until its execution has finished.
that a job with a particular ID cannot be enqueued again until its execution has finished and its result has cleared. To control when a finished job's result clears, you can use the `keep_result` setting on your worker, see :func:`arq.worker.func`.

.. literalinclude:: examples/job_ids.py

Expand Down

0 comments on commit 6f80c7e

Please sign in to comment.