pg_eventserv icon indicating copy to clipboard operation
pg_eventserv copied to clipboard

Continous stream of "level=info msg="Closing idle web socket 1" log entries

Open gamesbook opened this issue 2 years ago • 1 comments

I am running pg_eventserv in a docker, and when I check the logs I see an ongoing stream of the above messages (the web socket number increments each time).

Can I ask what causes this and if there is any way to disable it? (I cannot raise the log level at this time).

gamesbook avatar Dec 01 '22 16:12 gamesbook

Well, every time a client disconnects it will leave an orphaned web socked on the server, which will eventually time out and leave that in the log. Probably the answer is to push the log level lower, since timing out orphaned sockets is sort of unavoidable.

pramsey avatar Jul 14 '23 15:07 pramsey