— Set recurring task to every minute

This commit is contained in:
Luc Didry 2025-03-18 15:59:00 +01:00
parent 0a02855e60
commit 33fd5441e1
No known key found for this signature in database
GPG key ID: EA868E12D0257E3C
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
## [Unreleased]
- 🚸 — Use ReconnectLDAPObject
- ⏰ — Set recurring task to every minute
## 0.9.0

View file

@ -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:
"""Recurring DB cleanup and watch-agents tasks"""
# If we are using gunicorn