Here's from the eventlet documentation[1]: "It is important to call monkey_patch() as early in the lifetime of the application as possible. Try to do it as one of the first lines in the main module." So I don't think it's safe to wait until an incoming request is received to do the monkey-patching.
Here's from the eventlet documentation[1]: "It is important to call monkey_patch() as early in the lifetime of the application as possible. Try to do it as one of the first lines in the main module." So I don't think it's safe to wait until an incoming request is received to do the monkey-patching.
[1] http:// eventlet. net/doc/ patching. html#monkeypatc hing-the- standard- library