Commits

Denis Bilenko  committed 24869ef

Make resolver_thread the default resolver.

  • Participants
  • Parent commits 848dcae

Comments (0)

Files changed (1)

File gevent/hub.py

     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')