mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 22:38:43 +00:00
Shift EventStream debug functions to use dev config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user