Commits

Ronny Pfannschmidt committed 178f2ca

set the threaded resolver

Comments (0)

Files changed (3)

 env = dict(os.environ,
     PYTHONPATH=pythonpath,
     GEVENT_LOOP='gtkloop.GtkLoop',
+    GEVENT_RESOLVER='gevent.resolver_thread.Resolver',
 )
 
 os.execve(sys.executable,

test_run_downloader.sh

-PYTHONPATH=. GEVENT_LOOP=gtkloop.GtkLoop python ../gevent/examples/concurrent_download.py
+PYTHONPATH=. GEVENT_LOOP=gtkloop.GtkLoop GEVENT_RESOLVER=gevent.resolver_thread.Resolver python ../gevent/examples/concurrent_download.py
-PYTHONPATH=. GEVENT_LOOP=gtkloop.GtkLoop py.test ../gevent/greentest/test_patched_socket.py -x --fulltrace
+PYTHONPATH=. GEVENT_LOOP=gtkloop.GtkLoop GEVENT_RESOLVER=gevent.resolver_thread.Resolver py.test ../gevent/greentest/test_patched_socket.py -x --fulltrace