mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
⏰ — Set recurring task to every minute
This commit is contained in:
parent
0a02855e60
commit
33fd5441e1
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- 🚸 — Use ReconnectLDAPObject
|
- 🚸 — Use ReconnectLDAPObject
|
||||||
|
- ⏰ — Set recurring task to every minute
|
||||||
|
|
||||||
## 0.9.0
|
## 0.9.0
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,7 @@ def create_manager(cookie_secret: str) -> LoginManager:
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@repeat_every(seconds=120, logger=logger)
|
@repeat_every(seconds=60, logger=logger)
|
||||||
async def recurring_tasks() -> None:
|
async def recurring_tasks() -> None:
|
||||||
"""Recurring DB cleanup and watch-agents tasks"""
|
"""Recurring DB cleanup and watch-agents tasks"""
|
||||||
# If we are using gunicorn
|
# If we are using gunicorn
|
||||||
|
|
Loading…
Reference in a new issue