norbi-update #1
@ -20,7 +20,6 @@ class Config:
|
||||
RELEASEMODE = os.environ.get("INPUT_SERVICE_RELEASEMODE", "dev")
|
||||
|
||||
EXCHANGE_NAME = os.getenv("INPUT_RABBITMQ_EXCHANGE", "dev")
|
||||
RABBITMQ_QUEUE = os.getenv("INPUT_RABBITMQ_QUEUE", "wave-extract")
|
||||
|
||||
FLASK_PIKA_PARAMS = {
|
||||
'host': os.getenv("INPUT_RABBITMQ_HOSTNAME", "localhost"),
|
||||
|
@ -27,7 +27,6 @@ class MagicAMQP:
|
||||
self.app = app
|
||||
self.app.config.setdefault('FLASK_PIKA_PARAMS', {})
|
||||
self.app.config.setdefault('EXCHANGE_NAME', None)
|
||||
self.app.config.setdefault('RABBITMQ_QUEUE', None)
|
||||
|
||||
self._credentials = pika.PlainCredentials(
|
||||
app.config['FLASK_PIKA_PARAMS']['username'],
|
||||
|
Loading…
Reference in New Issue
Block a user