mumo
mumo copied to clipboard
Mumo attaches callbacks multiple times when run for longer time
The function in mumo.py line 251 causes mumo to attach callbacks multiple times after running a longer time causing mumo plugins to answer multiple times to commands.
Temporary fix is to disable the watchdog in the config.
As a permanent fix: Maybe restart the ICE Connection before reattaching the callbacks?
Is longer time some specific amount of time? Or is it just sporadic?
You are right that redoing the whole connection might be better behavior if we assume the connection to be broken anyways.
@hacst I didn't really check regularly if the problem had occured yet. But after an evening of reading your code I decided to test if the watchdog was the problem. Now mumo has been running again for about 1 1/2 months on our server, which I think is enough to say that it's probably the origin of this. I'm happy to help with any long term debugging though.