mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-03 10:48:03 +08:00
Use the same key for this that we used to use.
This commit is contained in:
@@ -134,7 +134,7 @@ class TestConfiguration(BaseConfiguration):
|
||||
SQLALCHEMY_DATABASE_URI = 'sqlite:///{0}'.format(
|
||||
path.join(dbdir, 'tests', 'test_module_build_service.db'))
|
||||
DEBUG = True
|
||||
MESSAGING = 'memory'
|
||||
MESSAGING = 'in_memory'
|
||||
|
||||
# Global network-related values, in seconds
|
||||
NET_TIMEOUT = 3
|
||||
|
||||
@@ -344,7 +344,7 @@ class Config(object):
|
||||
|
||||
def _setifok_messaging(self, s):
|
||||
s = str(s)
|
||||
if s not in ("fedmsg", "amq", "memory"):
|
||||
if s not in ("fedmsg", "amq", "in_memory"):
|
||||
raise ValueError("Unsupported messaging system.")
|
||||
self.messaging = s
|
||||
|
||||
|
||||
@@ -344,7 +344,7 @@ _messaging_backends = {
|
||||
'amq': {
|
||||
'publish': _amq_publish,
|
||||
},
|
||||
'memory': {
|
||||
'in_memory': {
|
||||
'publish': _in_memory_publish,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user