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

Prevent macos crash on high concurrecy #385

Closed
wants to merge 1 commit into from

Conversation

hatoo
Copy link
Owner

@hatoo hatoo commented Jan 25, 2024

WIP fix #384

I don't know why. This patch reduce the probability of crach on MacOS.

Comment on lines -274 to -276
// TODO: Allow the connect timeout to be configured
let timeout_duration = tokio::time::Duration::from_secs(5);

Copy link
Contributor

Choose a reason for hiding this comment

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

Are we sure that a connection timeout is what is causing the crash?

It might be handling of errors after the timeouts that cause the crash or some of the other changes here.

I'd really suggest keeping the timeout if possible.

@hatoo hatoo closed this Feb 3, 2024
@hatoo hatoo deleted the remove-connection-timeout branch February 3, 2024 02:56
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.

MacOS Crash issues
2 participants