Skip to content
Snippets Groups Projects
Commit 3ad269c2 authored by Joao Siebel's avatar Joao Siebel
Browse files

Check if metrics are enabled

parent c5b8f30f
No related merge requests found
......@@ -18,7 +18,9 @@ const proccess = () => {
annotationsRecieverIsRunning = true;
Object.keys(annotationsQueue).forEach((meetingId) => {
AnnotationsStreamer(meetingId).emit('added', { meetingId, annotations: annotationsQueue[meetingId] });
Metrics.setAnnotationQueueLength(meetingId, 0);
if (queueMetrics) {
Metrics.setAnnotationQueueLength(meetingId, 0);
}
});
annotationsQueue = {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment