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

chore: Add configuration for witness policy expiry cache #1029

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

sandrask
Copy link
Contributor

Add configuration for witness policy expiry cache. Currently it is defaulted to 30s.

Closes #1028

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

Add configuration for witness policy expiry cache. Currently it is defaulted to 30s.

Closes trustbloc#1028

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
@cla-bot cla-bot bot added the cla-signed label Jan 17, 2022
@codecov
Copy link

codecov bot commented Jan 17, 2022

Codecov Report

Merging #1029 (d231b6b) into main (52312de) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1029   +/-   ##
=======================================
  Coverage   89.30%   89.31%           
=======================================
  Files         160      160           
  Lines       15596    15604    +8     
=======================================
+ Hits        13928    13936    +8     
  Misses       1020     1020           
  Partials      648      648           
Impacted Files Coverage Δ
cmd/orb-server/startcmd/params.go 81.43% <100.00%> (+0.16%) ⬆️
cmd/orb-server/startcmd/start.go 73.95% <100.00%> (ø)
pkg/anchor/witness/policy/policy.go 98.75% <100.00%> (+0.01%) ⬆️
pkg/observer/pubsub.go 94.49% <0.00%> (ø)

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 52312de...d231b6b. Read the comment docs.

@sandrask sandrask merged commit 7b08a24 into trustbloc:main Jan 17, 2022
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.

Add configuration for witness policy expiry cache
3 participants