mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-25 11:12:01 +08:00
Local builds: avoid 'Hub not initialized. Queueing on the side' warnings
We don't need messages at all for local builds, so use a separate "drop" backend and reserve the "in_memory" backend for tests, where we sometimes want to inspect the messages. This avoids a warning for each published message.
This commit is contained in:
1
setup.py
1
setup.py
@@ -47,6 +47,7 @@ setup(
|
||||
"mbs.messaging_backends": [
|
||||
"fedmsg = module_build_service.common.messaging:_fedmsg_backend",
|
||||
"in_memory = module_build_service.common.messaging:_in_memory_backend",
|
||||
"drop = module_build_service.common.messaging:_drop_backend",
|
||||
# 'custom = your_organization:_custom_backend',
|
||||
],
|
||||
"mbs.builder_backends": [
|
||||
|
||||
Reference in New Issue
Block a user