Add ping debug in peertube-runner

This commit is contained in:
Chocobozzz 2024-03-29 15:04:03 +01:00
parent 7eb0189b73
commit 33607e3268
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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)
}