Commit 6a0dee40 authored by Denis Bilenko's avatar Denis Bilenko

ares.pyx: use 'pass_events' keyword argument

parent 546436e8
......@@ -2,7 +2,6 @@
cimport cares
import sys
from python cimport *
from gevent.core import EVENTS
from gevent.core import io, loop
from _socket import gaierror
......@@ -363,7 +362,7 @@ cdef public class channel [object PyGeventAresChannelObject, type PyGeventAresCh
if not self._watchers:
self._timer.stop()
return
watcher.start(self._process_fd, EVENTS, watcher)
watcher.start(self._process_fd, watcher, pass_events=True)
self._timer.again(self._on_timer)
def _on_timer(self):
......
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