Currently the server doesn't send any pings to open spectator sockets. This is because it would be awkward to keep track of any anonymous spectators - get aWss was causing crashes when I experimented with it, so I decided to keep track of open sockets to ping them. The obvious stopgap solution would be to keep track of registered users who are spectating a given game by adding a property to the match object.
Currently the server doesn't send any pings to open spectator sockets. This is because it would be awkward to keep track of any anonymous spectators - get aWss was causing crashes when I experimented with it, so I decided to keep track of open sockets to ping them. The obvious stopgap solution would be to keep track of registered users who are spectating a given game by adding a property to the match object.