Shifting job callbacks to ZeroMQ.

This commit is contained in:
Luke Sneeringer
2014-10-29 13:51:47 -05:00
parent 99381f11fa
commit 8d90650134
3 changed files with 17 additions and 39 deletions

View File

@@ -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