anlutro / botologist

Plugin-driven Python3 IRC
MIT License
5 stars 5 forks source link

Add a connection timeout #44

Closed anlutro closed 8 years ago

anlutro commented 8 years ago

Currently, the bot can spend an eternity trying to connect before it times out.

anlutro commented 8 years ago

This is urgent!

[2015-11-04 04:04:48,553] DEBUG - botologist.irc - RECEIVED: 'ERROR :Closing Link: __bot__ by underworld1.no.quakenet.org (Ping timeout)'
[2015-11-04 04:04:48,553] WARNING - botologist.irc - Received error: ERROR :Closing Link: __bot__ by underworld1.no.quakenet.org (Ping timeout)
[2015-11-04 04:04:48,553] INFO - botologist.irc - Disconnecting
[2015-11-04 04:04:48,553] INFO - botologist.irc - Reconnecting in 10 seconds
[2015-11-04 04:04:58,554] INFO - botologist.irc - Connecting to underworld1.no.quakenet.org:6667
... nothing happening
moopie commented 8 years ago

Just use twisted

anlutro commented 8 years ago

pr or gtfo

anlutro commented 8 years ago

Think this is ok now