mirror of
https://github.com/status-im/cabot.git
synced 2025-02-24 10:28:06 +00:00
Reduce time to store old check results to 7 days
This commit is contained in:
parent
9b165b1e3f
commit
6d05e19d96
6
CHANGES
6
CHANGES
@ -1,3 +1,9 @@
|
||||
master
|
||||
------
|
||||
|
||||
* Reduce time to store old check results to 7 days
|
||||
- Currently stores for 2 months, but there's no actual way to view the old data.
|
||||
|
||||
Version 0.11.0
|
||||
--------------
|
||||
|
||||
|
@ -68,7 +68,7 @@ def update_shifts():
|
||||
|
||||
|
||||
@task(ignore_result=True)
|
||||
def clean_db(days_to_retain=60, batch_size=10000):
|
||||
def clean_db(days_to_retain=7, batch_size=10000):
|
||||
"""
|
||||
Clean up database otherwise it gets overwhelmed with StatusCheckResults.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user