From 528c3059280436c33ef78e31ecc7cb49320583bd Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 24 Jan 2026 13:13:10 +0100 Subject: [PATCH] setup tweaks --- changedetectionio/flask_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index 2475c11c..5a9d7adc 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -808,6 +808,8 @@ def changedetection_app(config=None, datastore_o=None): # Initialize Socket.IO server conditionally based on settings socket_io_enabled = datastore.data['settings']['application']['ui'].get('socket_io_enabled', True) + if socket_io_enabled and app.config.get('batch_mode'): + socket_io_enabled = False if socket_io_enabled: from changedetectionio.realtime.socket_server import init_socketio global socketio_server