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

GH-611: Accountant Overlapping Scans (self review) #4

Open
wants to merge 147 commits into
base: master
Choose a base branch
from

Conversation

utkarshg6
Copy link
Owner

No description provided.

utkarshg6 added 30 commits July 6, 2022 08:12
@@ -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()
Copy link
Owner Author

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 {
Copy link
Owner Author

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);
Copy link
Owner Author

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants