fix waitress

This commit is contained in:
Mateusz Gruszczyński 2025-03-04 11:48:39 +01:00
parent 60e0762337
commit 1f16e5d130

4
app.py
View File

@ -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())