Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

payment finalizer: never break loop #383

Merged
merged 2 commits into from
Jun 20, 2023
Merged

Conversation

kiwiidb
Copy link
Contributor

@kiwiidb kiwiidb commented Jun 15, 2023

If we break the loop, then the queue will fill up.
We cannot unbind the queue because then we could miss payments that happened while lndhub was offline.
This means that we no longer have a need for the ticker - it's ok if our map never gets empty.

@kiwiidb kiwiidb merged commit e6b270e into main Jun 20, 2023
3 checks passed
@kiwiidb kiwiidb deleted the fix/payment-finalizer-loop branch June 20, 2023 11:50
@codecov
Copy link

codecov bot commented Jun 20, 2023

Codecov Report

Merging #383 (bec0544) into main (ea0ab4e) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #383      +/-   ##
==========================================
+ Coverage   60.02%   60.06%   +0.03%     
==========================================
  Files          50       50              
  Lines        3212     3195      -17     
==========================================
- Hits         1928     1919       -9     
+ Misses       1078     1070       -8     
  Partials      206      206              
Impacted Files Coverage Δ
rabbitmq/rabbitmq.go 55.98% <ø> (+0.20%) ⬆️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant