mumo icon indicating copy to clipboard operation
mumo copied to clipboard

Mumo attaches callbacks multiple times when run for longer time

Open tu-maurice opened this issue 8 years ago • 2 comments

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?

tu-maurice avatar Dec 11 '16 18:12 tu-maurice

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 avatar Dec 13 '16 21:12 hacst

@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.

tu-maurice avatar Dec 14 '16 15:12 tu-maurice