Skip to content

Commit

Permalink
Merge pull request #37 from mokshaproject/feature/short-circuit
Browse files Browse the repository at this point in the history
Shortcircuit topic subscriptions if not initialized.
  • Loading branch information
ralphbean committed Nov 10, 2016
2 parents 07063ae + 0abc328 commit 5d8f576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moksha.hub/moksha/hub/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ def __init_consumers(self):
if not getattr(c, "_initialized", None):
log.info("%s:%s not initialized." % (
c_class.__module__, c_class.__name__,))
continue

self.consumers.append(c)

Expand Down

0 comments on commit 5d8f576

Please sign in to comment.