-
Notifications
You must be signed in to change notification settings - Fork 65
fix: bid is not closed after the manifest timeout #371
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
base: main
Are you sure you want to change the base?
Changes from 18 commits
a9791b1
15977fa
09dbce0
b1a78b6
85f8226
3514dd1
d4c2e18
914b5b6
baee021
3388a8e
5643880
199c391
a252e0c
87728f3
e404abd
1bf9bf0
a9a2bc4
f4a01fa
0cc9eb7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -351,7 +351,7 @@ func (s *service) handleLease(ev event.LeaseWon, isNew bool) { | |
| if isNew && s.config.ManifestTimeout > time.Duration(0) { | ||
| // Create watchdog if it does not exist AND a manifest has not been received yet | ||
| if watchdog := s.watchdogs[ev.LeaseID.DeploymentID()]; watchdog == nil { | ||
| watchdog = newWatchdog(s.session, s.lc.ShuttingDown(), s.watchdogch, ev.LeaseID, s.config.ManifestTimeout) | ||
| watchdog = newWatchdog(s.session, s.lc.ShuttingDown(), s.watchdogch, ev.LeaseID, s.config.ManifestTimeout, s.config.BroadcastTimeout) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if provider service restarts, does it start counting from 0, or takes into account when lease was created?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, the lease creation time is not taking into an account. Not doing this since we discussed the refactor of the serial broadcaster. |
||
| s.watchdogs[ev.LeaseID.DeploymentID()] = watchdog | ||
| } | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.