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

feat: Configure Witness Store Expiry Period #1133

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

sandrask
Copy link
Contributor

Currently witness store expiry period is calculated as max witness delay + hard-coded delta. Modify this functionality to use configured parameter.

Closes # 1132

Signed-off-by: Sandra Vrtikapa sandra.vrtikapa@securekey.com

@cla-bot cla-bot bot added the cla-signed label Feb 17, 2022
@sandrask sandrask changed the title feat: Configure Witness Store Expiry Period wip: Configure Witness Store Expiry Period Feb 17, 2022
@sandrask sandrask changed the title wip: Configure Witness Store Expiry Period feat: Configure Witness Store Expiry Period Feb 18, 2022
@codecov
Copy link

codecov bot commented Feb 18, 2022

Codecov Report

Merging #1133 (af6fb0b) into main (026f171) will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1133      +/-   ##
==========================================
+ Coverage   88.92%   88.99%   +0.07%     
==========================================
  Files         167      167              
  Lines       16218    16224       +6     
==========================================
+ Hits        14422    14439      +17     
+ Misses       1109     1100       -9     
+ Partials      687      685       -2     
Impacted Files Coverage Δ
cmd/orb-server/startcmd/params.go 81.39% <100.00%> (+0.16%) ⬆️
cmd/orb-server/startcmd/start.go 73.42% <100.00%> (ø)
pkg/store/witness/witness.go 91.62% <100.00%> (-0.05%) ⬇️
pkg/activitypub/service/monitoring/monitoring.go 80.18% <0.00%> (+2.83%) ⬆️
...pub/service/inbox/httpsubscriber/httpsubscriber.go 100.00% <0.00%> (+9.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 026f171...af6fb0b. Read the comment docs.

Currently witness store expiry period is calculated as max witness delay + hard-coded delta. Modify this functionality to use configured parameter.

Closes # 1132

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
@fqutishat fqutishat merged commit a7e3cda into trustbloc:main Feb 22, 2022
@sandrask sandrask linked an issue Feb 22, 2022 that may be closed by this pull request
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.

Configure Witness Store Expiry Period
3 participants