mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 03:13:47 +00:00
performance enhancements
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
const Timer = require('./Timer');
|
||||
const socketIo = require('socket.io');
|
||||
// DEBUG
|
||||
const { instrument } = require("@socket.io/admin-ui");
|
||||
|
||||
/*
|
||||
* EventTimer adds functions specific to APP
|
||||
@@ -71,6 +73,11 @@ class EventTimer extends Timer {
|
||||
},
|
||||
});
|
||||
|
||||
// DEBUG
|
||||
instrument(this.io, {
|
||||
auth: false
|
||||
});
|
||||
|
||||
// set recurrent emits
|
||||
this._interval = setInterval(
|
||||
() => this.broadcastTimer(),
|
||||
|
||||
Reference in New Issue
Block a user