-
Notifications
You must be signed in to change notification settings - Fork 0
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
GH-611: Accountant Overlapping Scans (self review) #4
base: master
Are you sure you want to change the base?
Conversation
…e scan is already running
…h an empty vector
…shed() of scanners.rs
…until_it_gets_confirmed_or_canceled()
@@ -449,7 +449,7 @@ mod tests { | |||
panic_3_msg, | |||
&format!( | |||
"should be called only on uninitialized object, not: ScanIntervals(Some({:?}))", | |||
*DEFAULT_SCAN_INTERVALS | |||
make_scan_intervals_with_defaults() |
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.
Don't use this function, instead just dereference the DEFAULT_SCAN_INTERVALS
.
when_pending_too_long_sec: DEFAULT_PENDING_TOO_LONG_SEC, | ||
suppress_initial_scans: false, | ||
} | ||
pub fn make_bc_with_defaults() -> BootstrapperConfig { |
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.
Try using builder method for building the bootstrap config.
@@ -112,6 +112,7 @@ recorder_message_handler!(AddReturnRouteMessage); | |||
recorder_message_handler!(AddRouteMessage); | |||
recorder_message_handler!(AddStreamMsg); | |||
recorder_message_handler!(BindMessage); | |||
recorder_message_handler!(ConnectionProgressMessage); |
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.
Move this line after recorder_message_handler!(ScanForPayables);
No description provided.