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

Update timeout to infinite for poll of accept #249

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

Tim-Zhang
Copy link
Member

It should be a mistake to modify it from -1 to 10
in the PR #226
https://github.com/containerd/ttrpc-rust/pull/226/files#diff-e74ddb472174f24fb4713f5a2fe2d33bbc5db28ee2a5c7dad1ea9025b897e8a5R110

There already are monitor_fd to notify exit, so accept without timeout is safe.

It should be a mistake to modify it from -1 to 10
in the PR containerd#226
https://github.com/containerd/ttrpc-rust/pull/226/files#diff-e74ddb472174f24fb4713f5a2fe2d33bbc5db28ee2a5c7dad1ea9025b897e8a5R110

There already are monitor_fd to notify exit, so accept without timeout is safe.

Signed-off-by: Tim Zhang <[email protected]>
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 24.74%. Comparing base (c3889f6) to head (dc6b697).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
src/sync/sys/unix/net.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #249   +/-   ##
=======================================
  Coverage   24.74%   24.74%           
=======================================
  Files          16       16           
  Lines        2675     2675           
=======================================
  Hits          662      662           
  Misses       2013     2013           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lifupan lifupan merged commit 4aac6ff into containerd:master Sep 25, 2024
12 of 13 checks passed
@Tim-Zhang Tim-Zhang deleted the modify-accept-poll-timeout branch September 25, 2024 08:17
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.

3 participants