bigbluebutton-Github/bigbluebutton-html5/imports/startup/server/index.js

21 lines
453 B
JavaScript
Raw Normal View History

2016-05-05 02:29:43 +08:00
import { logger } from '/imports/startup/server/logger';
2016-05-05 02:29:43 +08:00
import { RedisPubSub } from '/imports/startup/server/redispubsub2';
import { EventQueue } from '/imports/startup/server/EventQueue';
import '/server/server';
export const myQueue = new EventQueue();
logger.info('server start');
export const eventEmitter = new (Npm.require('events').EventEmitter);
export const redisPubSub = new RedisPubSub();
// TODO
/*
-clear collections somewhere
*/