show database state every 3 minutes

This commit is contained in:
deflax 2024-01-07 05:26:15 +02:00
parent cc6e022d4f
commit 567bda270d

View file

@ -190,8 +190,8 @@ core_api_sync()
scheduler.add_job(func=core_api_sync, trigger="interval", seconds=CORE_SYNC_PERIOD, id="core_api_sync") scheduler.add_job(func=core_api_sync, trigger="interval", seconds=CORE_SYNC_PERIOD, id="core_api_sync")
# Schedule show db/tasks # Schedule show db/tasks
scheduler.add_job(func=show_database, trigger="interval", minutes=60, id="show_database") scheduler.add_job(func=show_database, trigger="interval", minutes=3, id="show_database")
scheduler.add_job(func=show_scheduled_tasks, trigger="interval", minutes=60, id="show_scheduled_tasks") scheduler.add_job(func=show_scheduled_tasks, trigger="interval", minutes=3, id="show_scheduled_tasks")
scheduler.start() scheduler.start()