Add ping debug in peertube-runner
This commit is contained in:
parent
7eb0189b73
commit
33607e3268
|
@ -122,6 +122,7 @@ export class RunnerServer {
|
||||||
this.safeAsyncCheckAvailableJobs()
|
this.safeAsyncCheckAvailableJobs()
|
||||||
})
|
})
|
||||||
socket.on('disconnect', () => logger.warn(`Disconnected from ${url} socket`))
|
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)
|
this.sockets.set(server, socket)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue