Update application.py

This commit is contained in:
MeBeBruno committed 2026-08-09 17:12:24 +02:00
1 parent 1b2128997c
commit f63f36bfea
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ from flask_socketio import SocketIO, emit, join_room
application = Flask(__name__) application = Flask(__name__)
application.secret_key = secrets.token_hex(64) application.secret_key = secrets.token_hex(64)
websocket_manager = SocketIO(application, manage_session=False) websocket_manager = SocketIO(application, manage_session=False, async_mode='threading')
scheduler_instance = BackgroundScheduler(timezone="Europe/Berlin") scheduler_instance = BackgroundScheduler(timezone="Europe/Berlin")
european_timezone = zoneinfo.ZoneInfo("Europe/Berlin") european_timezone = zoneinfo.ZoneInfo("Europe/Berlin")