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 _ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user