Commit c181ceed authored by Lukas Burgey's avatar Lukas Burgey

Fix RabbitMQ defaults

parent a6412900
......@@ -14,7 +14,12 @@ LOGGER = logging.getLogger(__name__)
RABBITMQ_CONNECTION = None
def exchanges_default():
return []
return [
'groups',
'users',
'sites',
'services',
]
# singleton for simple configs
# https://steelkiwi.com/blog/practical-application-singleton-design-pattern/
......@@ -49,7 +54,7 @@ class RabbitMQInstance(SingletonModel):
)
vhost = models.CharField(
max_length=150,
default='%2f',
default='/',
)
exchanges = JSONField(
default=exchanges_default,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment