https://bugzilla.wikimedia.org/show_bug.cgi?id=47275
Web browser: ---
Bug ID: 47275
Summary: morebots goes into an infinite loop of doing nothing
after a connection reset
Product: Wikimedia
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
irclib.ServerConnection represents a single low-level connection to a server,
it doesn't restart the connection if it is reset for whatever reason. The
caller in adminlogbot.py doesn't restart the connection either, it just
continues in an infinite loop of calling bot.irc.process_once(), which does
nothing after the connection is closed.
The version of irclib available on wikitech-static (0.4.8) also has an "ircbot"
library, which provides a higher level interface including automatic
reconnection. Using this library instead would hopefully give us a morebots
service which doesn't need constant manual restarts.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l