-
Notifications
You must be signed in to change notification settings - Fork 0
GH-611: Accountant Overlapping Scans (self review) #4
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: master
Are you sure you want to change the base?
Conversation
… closure inside tools.rs
…scan, but the scan is already running
…can is already running
… whether a scan is running
… is already running
…Receipts with an empty vector
…tests in accountant/mod.rs
…he scan_finished() of scanners.rs
… of all the Scanners
…finished() stops the scan
…es and deliquencies
…r of nothing to process
…d_monitored_until_it_gets_confirmed_or_canceled()
…to accountant/test_utils.rs
…sts of accountant/mod.rs
| &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.
| 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.