Shift EventStream debug functions to use dev config

This commit is contained in:
G.Ambatte committed 2026-10-11 15:11:02 +13:00
1 parent 80884a8809
commit 7b82971699
1 file changed
+4 -2
+4 -2
View File
@@ -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