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

*: forbid the use of time.After #6985

Merged
merged 2 commits into from
Feb 15, 2024
Merged

*: forbid the use of time.After #6985

merged 2 commits into from
Feb 15, 2024

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Feb 15, 2024

This particular use seems pretty harmless, but I think we might as well forbid this problematic function that can leak timers as a rule.

RELEASE NOTES: none

@dfawley dfawley added the Type: Internal Cleanup Refactors, etc label Feb 15, 2024
@dfawley dfawley added this to the 1.63 Release milestone Feb 15, 2024
@dfawley dfawley requested a review from arvindbr8 February 15, 2024 16:55
Copy link

codecov bot commented Feb 15, 2024

Codecov Report

Merging #6985 (985e97b) into master (408139a) will increase coverage by 0.20%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6985      +/-   ##
==========================================
+ Coverage   82.14%   82.34%   +0.20%     
==========================================
  Files         296      296              
  Lines       31452    31454       +2     
==========================================
+ Hits        25835    25900      +65     
+ Misses       4543     4496      -47     
+ Partials     1074     1058      -16     
Files Coverage Δ
internal/transport/http2_server.go 89.43% <100.00%> (-0.27%) ⬇️

... and 14 files with indirect coverage changes

@dfawley dfawley merged commit 28d78d4 into grpc:master Feb 15, 2024
14 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants