mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-20 11:28:34 +08:00
Save limit per group/func/name (#12)
* feat: option to save tasks per group/func/name * test: update tests for save limit * fix: convert func when save-limit checking when passed as function it needs to be converted to work * Add warning if option is not valid Co-authored-by: Noortheen Raja <jnoortheen@gmail.com>
This commit is contained in:
co-authored by
Noortheen Raja
parent
e3f959c258
commit
9ace854290
@@ -142,6 +142,14 @@ Limits the amount of successful tasks saved to Django.
|
||||
- Defaults to ``250``
|
||||
- Failures are always saved.
|
||||
|
||||
save_limit_per
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
The above ``save_limit`` for successful tasks can be fine tuned per task type using
|
||||
- Set to ``"group"`` to store the tasks per group
|
||||
- Other possible values are ``"func"``, ``"name"``, ``None``
|
||||
- Defaults to ``None``
|
||||
|
||||
guard_cycle
|
||||
~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user