Update application.py

This commit is contained in:
MeBeBruno authored and GitHub committed 2026-08-09 16:30:46 +02:00
1 parent edda5b17aa
commit dfe64a064e
1 file changed
+3 -3
+3 -3
View File
@@ -1,5 +1,5 @@
import eventlet
eventlet.monkey_patch()
from gevent import monkey
monkey.patch_all()
import sqlite3
import string
@@ -22,7 +22,7 @@ from flask_socketio import SocketIO, emit, join_room
application = Flask(__name__)
app = application # Fallback-Alias für Gunicorn und Pella
application.secret_key = secrets.token_hex(64)
websocket_manager = SocketIO(application, manage_session=False, async_mode='eventlet')
websocket_manager = SocketIO(application, manage_session=False, async_mode='gevent')
scheduler_instance = BackgroundScheduler(timezone="Europe/Berlin")
european_timezone = zoneinfo.ZoneInfo("Europe/Berlin")