Skip to content

Commit ef157cb

Browse files
Merge pull request #924 from pika/issue-921-lrb
Merge PR #923
2 parents 6638774 + 3580e5b commit ef157cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pika/adapters/libev_connection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __init__(self,
102102
self.ioloop = pyev.default_loop()
103103
self.ioloop.update()
104104

105-
self.async = None
105+
self._async_watcher = None
106106
self._on_signal_callback = on_signal_callback
107107
self._io_watcher = None
108108
self._active_timers = {}
@@ -143,8 +143,8 @@ def _adapter_connect(self):
143143

144144
# NOTE: if someone knows why this async is needed here, please add
145145
# a comment in the code that explains it.
146-
self.async = pyev.Async(self.ioloop, self._noop_callable)
147-
self.async.start()
146+
self._async_watcher = pyev.Async(self.ioloop, self._noop_callable)
147+
self._async_watcher.start()
148148

149149
if self._on_signal_callback:
150150
global_sigterm_watcher.start()

0 commit comments

Comments
 (0)