diff options
author | C. Mangla <cmangla@users.noreply.github.com> | 2020-11-28 00:40:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 07:40:36 +0700 |
commit | 8b9e2188e4ef4655b163988a0292fcf291f46725 (patch) | |
tree | dc1ec261b5f531537a5a15d5c1eb8c405a6a3790 | |
parent | 81ea1d26d122ffdc58ea024b91e3b0473702659c (diff) | |
download | rq-8b9e2188e4ef4655b163988a0292fcf291f46725.tar.gz |
Add `job.refresh()` to docs (#1384)
-rw-r--r-- | docs/docs/jobs.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/docs/jobs.md b/docs/docs/jobs.md index 3bc1ab0..e0205ce 100644 --- a/docs/docs/jobs.md +++ b/docs/docs/jobs.md @@ -123,6 +123,7 @@ Some interesting job attributes include: * `job.exc_info` stores exception information if job doesn't finish successfully. * `job.last_heartbeat` the latest timestamp that's periodically updated when the job is executing. Can be used to determine if the job is still active. * `job.worker_name` returns the worker name currently executing this job. +* `job.refresh()` Update the job instance object with values fetched from Redis. If you want to efficiently fetch a large number of jobs, use `Job.fetch_many()`. |