I am messing around with XMPP in Python, and I want to be able to spawn new processes to listen for messages over XMPP. I figured that I would use gevent to spawn new processes to listen for messages.
I am just trying to write messages to a simple SQLite3 database just to track what is going on, however messages are only written to the database for one user. I am sure I am just not getting how gevent works.
Here is the code. https://gist.github.com/simonbowen/6756511