getAlby / lndhub.go

Accounting wrapper for the Lightning Network. It provides separate accounts for end-users. (LndHub compatible API written in Go)
GNU General Public License v3.0
86 stars 23 forks source link

prevent EOF loop #348

Closed kiwiidb closed 1 year ago

kiwiidb commented 1 year ago

Fixes #345 In case the connection to RabbitMQ is lost due to networking error or RabbitMQ being down, the channel will be closed and lndhub should be restarted to try and reconnect again.

codecov[bot] commented 1 year ago

Codecov Report

Merging #348 (e167940) into main (c7f2d85) will decrease coverage by 0.07%. The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main     #348      +/-   ##
==========================================
- Coverage   54.19%   54.12%   -0.07%     
==========================================
  Files          50       50              
  Lines        3096     3100       +4     
==========================================
  Hits         1678     1678              
- Misses       1236     1239       +3     
- Partials      182      183       +1     
Impacted Files Coverage Δ
main.go 0.00% <0.00%> (ø)
rabbitmq/rabbitmq.go 63.80% <25.00%> (-0.88%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.