Remove: connection status meteor server

This commit is contained in:
Tainan Felipe 2024-04-25 14:00:11 -03:00
parent e792a0d368
commit 60b8aa9452
4 changed files with 0 additions and 17 deletions

View File

@ -1 +0,0 @@
import './methods';

View File

@ -1,6 +0,0 @@
import { Meteor } from 'meteor/meteor';
import voidConnection from './methods/voidConnection';
Meteor.methods({
voidConnection,
});

View File

@ -1,9 +0,0 @@
import { PrometheusAgent, METRIC_NAMES } from '/imports/startup/server/prom-metrics/index.js'
// Round-trip time helper
export default function voidConnection(previousRtt) {
if (previousRtt) {
PrometheusAgent.observe(METRIC_NAMES.METEOR_RTT, previousRtt/1000);
}
return 0;
}

View File

@ -6,7 +6,6 @@ import '/imports/api/users/server';
import '/imports/api/screenshare/server';
import '/imports/api/voice-users/server';
import '/imports/api/video-streams/server';
import '/imports/api/connection-status/server';
import '/imports/api/timer/server';
import '/imports/api/pads/server';