Commit dbab98a1 authored by Denis Bilenko's avatar Denis Bilenko

wsgi: use new pool

parent a637628e
......@@ -406,7 +406,7 @@ def server(sock, site, log=None, environ=None, max_size=None, max_http_version=D
except socket.error, e:
if e[0] != errno.EPIPE and e[0] != errno.EBADF:
raise
pool.execute_async(serv.process_request, client_socket)
pool.spawn(serv.process_request, client_socket)
except KeyboardInterrupt:
print "wsgi exiting"
break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment