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

feat: allow override of bootstap cache #220

Closed
wants to merge 2 commits into from

Conversation

joshuef
Copy link
Contributor

@joshuef joshuef commented Feb 17, 2021

Allow passing in bootstrap contact override

(used in client when attempting to relocate eg)

@joshuef joshuef requested a review from a team as a code owner February 17, 2021 09:40
Yoga07
Yoga07 previously approved these changes Feb 17, 2021
src/api.rs Outdated
/// Ok(())
/// }
/// ```
pub async fn bootstrap(
&self,
override_target_addresses: Option<&Vec<SocketAddr>>,
Copy link
Contributor

@bochaco bochaco Feb 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need the Option just a slice &[SocketAddr], if it's not empty you override.

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

Successfully merging this pull request may close these issues.

3 participants