We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb92de commit 6d112ecCopy full SHA for 6d112ec
src/murfey/server/__init__.py
@@ -287,13 +287,12 @@ def run():
287
# Install a log filter to all existing handlers.
288
LogFilter.install()
289
290
- # Load RabbitMQ configuration
291
- PikaTransport().load_configuration_file(security_config.rabbitmq_credentials)
292
-
293
- # Set up RabbitMQ connection
294
if args.demo:
+ # Run in demo mode with no connections set up
295
os.environ["MURFEY_DEMO"] = "1"
296
else:
+ # Load RabbitMQ configuration and set up the connection
+ PikaTransport().load_configuration_file(security_config.rabbitmq_credentials)
297
_set_up_transport("pika")
298
299
# Set up logging now that the desired verbosity is known
0 commit comments