Shift EventStream debug functions to use dev config

This commit is contained in:
G.Ambatte
2026-10-11 15:11:02 +13:00
parent 80884a8809
commit 7b82971699
+4 -2
View File
@@ -2,10 +2,12 @@ import { EventEmitter } from 'events';
import _ from 'lodash'; import _ from 'lodash';
import { nanoid } from 'nanoid'; import { nanoid } from 'nanoid';
import config from './config.js';
// DEBUG // DEBUG
const DEBUG = { const DEBUG = {
showEvents : true, showEvents : config.get('showStreamEvents'),
showSubscriberCount : false showSubscriberCount : config.get('showStreamSubscriberCount')
}; };
// Delays // Delays