Skip to content

Commit fc2246d

Browse files
committed
refactor(sfu): remove memory from health check
1 parent 2f79ce7 commit fc2246d

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

sfu-server/src/server/RouteManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export class RouteManager {
4040
const stats: HealthStats = {
4141
status: 'healthy',
4242
uptime: process.uptime(),
43-
memory: process.memoryUsage(),
4443
rooms: this.mediasoup.rooms.getRoomCount(),
4544
peers: this.mediasoup.peers.getPeerCount(),
4645
};

sfu-server/src/types/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ export interface ServerConfig {
412412
export interface HealthStats {
413413
status: 'healthy';
414414
uptime: number;
415-
memory: NodeJS.MemoryUsage;
416415
rooms: number;
417416
peers: number;
418417
}

0 commit comments

Comments
 (0)