From 33607e3268f2adb89275e3ea87581d41ce6ec0b3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 29 Mar 2024 15:04:03 +0100 Subject: [PATCH] Add ping debug in peertube-runner --- apps/peertube-runner/src/server/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/peertube-runner/src/server/server.ts b/apps/peertube-runner/src/server/server.ts index 698c623f1..63f73ce7e 100644 --- a/apps/peertube-runner/src/server/server.ts +++ b/apps/peertube-runner/src/server/server.ts @@ -122,6 +122,7 @@ export class RunnerServer { this.safeAsyncCheckAvailableJobs() }) socket.on('disconnect', () => logger.warn(`Disconnected from ${url} socket`)) + socket.io.on('ping', () => logger.debug(`Received a "ping" for ${url}`)) this.sockets.set(server, socket) }