Remove: connection status meteor server
This commit is contained in:
parent
e792a0d368
commit
60b8aa9452
@ -1 +0,0 @@
|
||||
import './methods';
|
@ -1,6 +0,0 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import voidConnection from './methods/voidConnection';
|
||||
|
||||
Meteor.methods({
|
||||
voidConnection,
|
||||
});
|
@ -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;
|
||||
}
|
@ -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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user