Open pushcx opened 1 month ago
I'm having a look through the code now, my first guess is that the bot is not responding to PING requests from the libera irc server. Have you updated the dependencies recently?
I have some free time tomorrow, I'll try my hand at updating the bot to gracefully exit the process on connection end.
It's been quite some time since we bumped dependencies on this bot. I don't know if Libera changed something about pings recently.
I asked in #libera-communities
and an op said they don't believe anything has changed in this area.
A couple times in the last few weeks mockturtle has lost its connection to Libera. It continues running but can’t reconnect.
Maybe the straightforward fix here is to detect the net connection has dropped and exit the process? I’d rather not build complicated reconnect logic, let a new process rebuild. It’s not so bad if we lose a single post along the way, though depending when and where the first exception happens, maybe the cache file won’t be updated so the new process will handle it?