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

Prepare Tokio v1.35.1 #6230

Merged
merged 6 commits into from
Dec 19, 2023
Merged

Prepare Tokio v1.35.1 #6230

merged 6 commits into from
Dec 19, 2023

Conversation

Darksonn
Copy link
Contributor

1.35.1 (December 19, 2023)

This is a forward part of a change that was backported to 1.25.3.

Fixed

  • io: add budgeting to tokio::runtime::io::registration::async_io (#6221)

Noah-Kennedy and others added 5 commits December 17, 2023 22:34
Fixes #5946.
Fixes #4782.

This change adds budgeting to most of the remaining unbudgeted IO operations which can complete instantly, including datagram send/recv operations and listener socket accepts.

This is particularly significant for scenarios in which resource limits are hit, as it can be common for things like listener tasks to spin when receiving errors and just log them, busy looping worker threads which might otherwise be handling existing connections and closing them.

This can also sometimes lead to complex failure scenarios within datagram systems experiencing resource exhaustion.
# 1.25.3 (December 17thm 2023)

### Fixed
- io: add budgeting to `tokio::runtime::io::registration::async_io` ([#6221])

[#6221]: #6221
@Darksonn Darksonn added the A-tokio Area: The main tokio crate label Dec 19, 2023
@Darksonn Darksonn changed the base branch from master to tokio-1.35.x December 19, 2023 17:12
@Darksonn Darksonn force-pushed the alice/prepare-1.35.1 branch from 7639dfc to 46ff363 Compare December 19, 2023 17:12
@Darksonn Darksonn merged commit 46ff363 into tokio-1.35.x Dec 19, 2023
69 checks passed
@Darksonn Darksonn deleted the alice/prepare-1.35.1 branch December 19, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants