Commit 2ec78455 authored by Denis Bilenko's avatar Denis Bilenko

Make resolver_thread the default resolver.

parent 8459d215
......@@ -296,8 +296,8 @@ class Hub(greenlet):
SYSTEM_ERROR = (KeyboardInterrupt, SystemExit, SystemError)
NOT_ERROR = (GreenletExit, SystemExit)
loop_class = config('gevent.core.loop', 'GEVENT_LOOP')
resolver_class = ['gevent.resolver_ares.Resolver',
'gevent.resolver_thread.Resolver',
resolver_class = ['gevent.resolver_thread.Resolver',
'gevent.resolver_ares.Resolver',
'gevent.socket.BlockingResolver']
resolver_class = resolver_config(resolver_class, 'GEVENT_RESOLVER')
threadpool_class = config('gevent.threadpool.ThreadPool', 'GEVENT_THREADPOOL')
......
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