-
Notifications
You must be signed in to change notification settings - Fork 22
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: Parameters for unpublished op lifespan and expiry service interval #818
feat: Parameters for unpublished op lifespan and expiry service interval #818
Conversation
Codecov Report
@@ Coverage Diff @@
## main #818 +/- ##
==========================================
- Coverage 89.56% 89.50% -0.07%
==========================================
Files 143 144 +1
Lines 12502 12588 +86
==========================================
+ Hits 11198 11267 +69
- Misses 807 813 +6
- Partials 497 508 +11
Continue to review full report at Codecov.
|
d45e890
to
3036271
Compare
cmd/orb-server/startcmd/params.go
Outdated
@@ -28,6 +28,8 @@ const ( | |||
defaultNodeInfoRefreshInterval = 15 * time.Second | |||
defaultIPFSTimeout = 20 * time.Second | |||
defaultDatabaseTimeout = 10 * time.Second | |||
defaultUnpublishedOperationLifespan = time.Minute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandrask Do you think 1m is a good default. I'm thinking maybe 5m?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put it to 5m but it is not showstopper. @DRK3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done - I've switched it to 5 minutes.
3036271
to
da3a433
Compare
Also added in the registration for the database timeout command line flag, which was missing (which meant that the environment variable would have been the only way to set it before. Now using the --database-timeout flag will work too) Signed-off-by: Derek Trider <Derek.Trider@securekey.com>
da3a433
to
1203cd5
Compare
Also added in the registration for the database timeout command line flag, which was missing (which meant that the environment variable would have been the only way to set it before. Now using the --database-timeout flag will work too)
closes #808
Signed-off-by: Derek Trider Derek.Trider@securekey.com