cleanup logs
This commit is contained in:
parent
4cdf41a899
commit
78ec6844a5
1 changed files with 0 additions and 3 deletions
|
@ -6,8 +6,6 @@ import socketIO from 'socket.io';
|
||||||
import * as prometheus from 'socket.io-prometheus-metrics';
|
import * as prometheus from 'socket.io-prometheus-metrics';
|
||||||
|
|
||||||
const serverDebug = debug('server');
|
const serverDebug = debug('server');
|
||||||
const ioDebug = debug('io');
|
|
||||||
const socketDebug = debug('socket');
|
|
||||||
|
|
||||||
dotenv.config(
|
dotenv.config(
|
||||||
process.env.NODE_ENV === 'development'
|
process.env.NODE_ENV === 'development'
|
||||||
|
@ -74,7 +72,6 @@ io.on('connection', socket => {
|
||||||
socket.on(
|
socket.on(
|
||||||
'server-volatile-broadcast',
|
'server-volatile-broadcast',
|
||||||
(roomID: string, encryptedData: ArrayBuffer, iv: Uint8Array) => {
|
(roomID: string, encryptedData: ArrayBuffer, iv: Uint8Array) => {
|
||||||
serverDebug(`${socket.id} sends volatile update to ${roomID}`);
|
|
||||||
socket.volatile.broadcast
|
socket.volatile.broadcast
|
||||||
.to(roomID)
|
.to(roomID)
|
||||||
.emit('client-broadcast', encryptedData, iv);
|
.emit('client-broadcast', encryptedData, iv);
|
||||||
|
|
Loading…
Reference in a new issue