mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-02 10:20:31 +08:00
in_memory messaging -> fallback to '*' topics
This commit is contained in:
@@ -364,5 +364,6 @@ _messaging_backends = {
|
||||
},
|
||||
'in_memory': {
|
||||
'publish': _in_memory_publish,
|
||||
'services': []
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,6 +48,8 @@ class MBSConsumer(fedmsg.consumers.FedmsgConsumer):
|
||||
in itertools.product(
|
||||
conf.messaging_topic_prefix,
|
||||
module_build_service.messaging._messaging_backends[conf.messaging]['services'])]
|
||||
if not topic:
|
||||
topic = '*'
|
||||
log.debug('Setting topics: {}'.format(', '.join(topic)))
|
||||
config_key = 'mbsconsumer'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user