mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 02:30:01 -03:30
Shifting job callbacks to ZeroMQ.
This commit is contained in:
@@ -76,7 +76,7 @@ class PubSub(object):
|
||||
from contextmanager import closing
|
||||
|
||||
with closing(PubSub('foobar')) as foobar:
|
||||
for message in foobar.listen(wait=0.1):
|
||||
for message in foobar.subscribe(wait=0.1):
|
||||
<deal with message>
|
||||
"""
|
||||
self._queue_name = queue_name
|
||||
|
||||
Reference in New Issue
Block a user