Removed queue as we do not scrubscribe
This commit is contained in:
parent
7f987afa7a
commit
2c0e6ec7d7
@ -20,7 +20,6 @@ class Config:
|
|||||||
RELEASEMODE = os.environ.get("INPUT_SERVICE_RELEASEMODE", "dev")
|
RELEASEMODE = os.environ.get("INPUT_SERVICE_RELEASEMODE", "dev")
|
||||||
|
|
||||||
EXCHANGE_NAME = os.getenv("INPUT_RABBITMQ_EXCHANGE", "dev")
|
EXCHANGE_NAME = os.getenv("INPUT_RABBITMQ_EXCHANGE", "dev")
|
||||||
RABBITMQ_QUEUE = os.getenv("INPUT_RABBITMQ_QUEUE", "wave-extract")
|
|
||||||
|
|
||||||
FLASK_PIKA_PARAMS = {
|
FLASK_PIKA_PARAMS = {
|
||||||
'host': os.getenv("INPUT_RABBITMQ_HOSTNAME", "localhost"),
|
'host': os.getenv("INPUT_RABBITMQ_HOSTNAME", "localhost"),
|
||||||
|
@ -27,7 +27,6 @@ class MagicAMQP:
|
|||||||
self.app = app
|
self.app = app
|
||||||
self.app.config.setdefault('FLASK_PIKA_PARAMS', {})
|
self.app.config.setdefault('FLASK_PIKA_PARAMS', {})
|
||||||
self.app.config.setdefault('EXCHANGE_NAME', None)
|
self.app.config.setdefault('EXCHANGE_NAME', None)
|
||||||
self.app.config.setdefault('RABBITMQ_QUEUE', None)
|
|
||||||
|
|
||||||
self._credentials = pika.PlainCredentials(
|
self._credentials = pika.PlainCredentials(
|
||||||
app.config['FLASK_PIKA_PARAMS']['username'],
|
app.config['FLASK_PIKA_PARAMS']['username'],
|
||||||
|
Loading…
Reference in New Issue
Block a user