From 1f16e5d130a400b9c980d65022d103adbff3b9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Tue, 4 Mar 2025 11:48:39 +0100 Subject: [PATCH] fix waitress --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index cb2b133..173f538 100644 --- a/app.py +++ b/app.py @@ -1129,8 +1129,8 @@ def scheduled_deployments(): db.session.commit() scheduler = BackgroundScheduler(timezone="UTC") -scheduler.add_job(func=scheduled_deployments, trigger="interval", minutes=5, next_run_time=datetime.now()) -scheduler.add_job(func=automated_backups, trigger="interval", minutes=5, next_run_time=datetime.now()) +scheduler.add_job(func=scheduled_deployments, trigger="interval", minutes=1, next_run_time=datetime.now()) +scheduler.add_job(func=automated_backups, trigger="interval", minutes=1, next_run_time=datetime.now()) scheduler.add_job(func=cleanup_old_backups, trigger="interval", hours=24, next_run_time=datetime.now())