From 7b82971699903bb6fc8f508da2fea47cd6c67d87 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sun, 11 Oct 2026 15:11:02 +1300 Subject: [PATCH] Shift EventStream debug functions to use dev config --- server/eventStreamSource.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/eventStreamSource.js b/server/eventStreamSource.js index 44457f1ef..6c1b49123 100644 --- a/server/eventStreamSource.js +++ b/server/eventStreamSource.js @@ -2,10 +2,12 @@ import { EventEmitter } from 'events'; import _ from 'lodash'; import { nanoid } from 'nanoid'; +import config from './config.js'; + // DEBUG const DEBUG = { - showEvents : true, - showSubscriberCount : false + showEvents : config.get('showStreamEvents'), + showSubscriberCount : config.get('showStreamSubscriberCount') }; // Delays