From a55b2354e3959b09f198f9e4cfb73f45c7da324f Mon Sep 17 00:00:00 2001 From: Lucas Rouckhout Date: Sat, 1 Apr 2023 16:06:02 +0200 Subject: [PATCH] Change default name for invoice consumer to lnd_invoice_consumer --- lib/service/config.go | 2 +- rabbitmq/rabbitmq.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/service/config.go b/lib/service/config.go index 1465565e..26115d5e 100644 --- a/lib/service/config.go +++ b/lib/service/config.go @@ -44,7 +44,7 @@ type Config struct { RabbitMQUri string `envconfig:"RABBITMQ_URI"` RabbitMQLndhubInvoiceExchange string `envconfig:"RABBITMQ_INVOICE_EXCHANGE" default:"lndhub_invoice"` RabbitMQLndInvoiceExchange string `envconfig:"RABBITMQ_LND_INVOICE_EXCHANGE" default:"lnd_invoice"` - RabbitMQInvoiceConsumerQueueName string `envconfig:"RABBITMQ_INVOICE_CONSUMER_QUEUE_NAME" default:"lndhub_invoice_consumer"` + RabbitMQInvoiceConsumerQueueName string `envconfig:"RABBITMQ_INVOICE_CONSUMER_QUEUE_NAME" default:"lnd_invoice_consumer"` SubscriptionConsumerType string `envconfig:"SUBSCRIPTION_CONSUMER_TYPE" default:"grpc"` Branding BrandingConfig } diff --git a/rabbitmq/rabbitmq.go b/rabbitmq/rabbitmq.go index ef4d43f6..1d668da5 100644 --- a/rabbitmq/rabbitmq.go +++ b/rabbitmq/rabbitmq.go @@ -114,7 +114,7 @@ func Dial(uri string, options ...ClientOption) (Client, error) { lecho.WithTimestamp(), ), - lndInvoiceConsumerQueueName: "lndhub_invoice_consumer", + lndInvoiceConsumerQueueName: "lnd_invoice_consumer", lndInvoiceExchange: "lnd_invoice", lndHubInvoiceExchange: "lndhub_invoice", }