Skip to content

Commit

Permalink
Merge pull request #342 from getAlby/fix/default-consumer-name
Browse files Browse the repository at this point in the history
Change default name for invoice consumer to lnd_invoice_consumer
  • Loading branch information
kiwiidb authored Apr 1, 2023
2 parents 7336b4f + a55b235 commit 9619af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/service/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion rabbitmq/rabbitmq.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down

0 comments on commit 9619af3

Please sign in to comment.