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

fix: Exit anchor status monitoring loop on shutdown #1575

Merged
merged 1 commit into from
May 31, 2023

Conversation

bstasyszyn
Copy link
Contributor

Also, updated witness proof monitor to accelerate the next task time if it is known that more records need to be processed.

closes #1572

@cla-bot cla-bot bot added the cla-signed label May 31, 2023
@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Patch coverage: 98.16% and project coverage change: +0.01 🎉

Comparison is base (7017bf0) 88.19% compared to head (624a208) 88.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1575      +/-   ##
==========================================
+ Coverage   88.19%   88.20%   +0.01%     
==========================================
  Files         227      227              
  Lines       21573    21611      +38     
==========================================
+ Hits        19026    19063      +37     
- Misses       1637     1638       +1     
  Partials      910      910              
Impacted Files Coverage Δ
pkg/vct/proofmonitoring/monitoring.go 83.85% <91.66%> (-0.72%) ⬇️
pkg/store/anchorstatus/store.go 88.64% <96.29%> (+1.20%) ⬆️
cmd/orb-server/startcmd/params.go 86.47% <100.00%> (+0.17%) ⬆️
cmd/orb-server/startcmd/start.go 67.80% <100.00%> (+0.12%) ⬆️
internal/pkg/log/fields.go 96.93% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Also, updated witness proof monitor to accelerate the next task time if it is known that more records need to be processed.

closes trustbloc#1572

Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Anchor status monitor loop should exit on shutdown
1 participant