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

move timer after early exit #33732

Merged
merged 1 commit into from
Oct 17, 2023
Merged

move timer after early exit #33732

merged 1 commit into from
Oct 17, 2023

Conversation

HaoranYi
Copy link
Contributor

Problem

Refactor: move timer code after eary exist from fn

Summary of Changes

Fixes #

@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Merging #33732 (163e7e7) into master (5de9163) will increase coverage by 0.0%.
Report is 1 commits behind head on master.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #33732   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         806      806           
  Lines      217862   217862           
=======================================
+ Hits       178242   178267   +25     
+ Misses      39620    39595   -25     

Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

Does this affect anything?

@HaoranYi
Copy link
Contributor Author

Does this affect anything?

No. It just avoids creating the timer if we are returning earlier from fn.

@HaoranYi HaoranYi merged commit 673a38c into solana-labs:master Oct 17, 2023
16 checks passed
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.

2 participants