New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Echobot.py uses 100% CPU #65
Comments
These messages are quite normal, but should be emitted once a second and that should not use 100% CPU, unless your system is really slow. |
CPU: AMD Turion X2 1.8 GHz Actually messages occur something like every 100ms. Here's traceback: DEBUG:pyxmpp2.mainloop.base:About to call a timeout handler: <bound method Client.regular_tasks of <pyxmpp2.client.Client object at 0x2d5b910>> |
Python: 2.7.1
Arch: x86_64
PyXMPP: latest from git
Debug shows tons of messages:
DEBUG:pyxmpp2.mainloop.base:About to call a timeout handler: <bound method Client.regular_tasks of <pyxmpp2.client.Client object at 0x1617990>>
DEBUG:pyxmpp2.expdict:expdict.expire. timeouts: {}
DEBUG:pyxmpp2.mainloop.base: handler result: 1
DEBUG:pyxmpp2.mainloop.base: auto-recurring, restarting in 1 s
DEBUG:pyxmpp2.mainloop.events: dispatching...
DEBUG:pyxmpp2.mainloop.events: queue empty
DEBUG:pyxmpp2.mainloop.base:About to call a timeout handler: <bound method Client.regular_tasks of <pyxmpp2.client.Client object at 0x1617990>>
The text was updated successfully, but these errors were encountered: