Can someone help me gevent's puzzling behavior? Here is my code:
https://gist.github.com/3956734.
I want to know how to use gevent.pool
. I spawn one greenlet in one time, the greelet do nothing but sleep for 10 secs. It's supposed to run only for 10 secs, but it runs for 20 secs in realistic situation.
What's wrong with my code? I have read gevent's documentation, but still have no idea.