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