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

[Merged by Bors] - Poll shutdown timeout in rpc handler #3153

Closed
wants to merge 2 commits into from

Conversation

pawanjay176
Copy link
Member

Issue Addressed

N/A

Proposed Changes

Previously, we were using Sleep::is_elapsed() to check if the shutdown timeout had triggered without polling the sleep. This PR polls the sleep timer.

@divagant-martian divagant-martian added ready-for-merge This PR is ready to merge. A0 labels Apr 8, 2022
@paulhauner
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Apr 13, 2022
## Issue Addressed

N/A

## Proposed Changes

Previously, we were using `Sleep::is_elapsed()` to check if the shutdown timeout had triggered without polling the sleep. This PR polls the sleep timer.
@bors bors bot changed the title Poll shutdown timeout in rpc handler [Merged by Bors] - Poll shutdown timeout in rpc handler Apr 13, 2022
@bors bors bot closed this Apr 13, 2022
paulhauner pushed a commit to paulhauner/lighthouse that referenced this pull request May 6, 2022
## Issue Addressed

N/A

## Proposed Changes

Previously, we were using `Sleep::is_elapsed()` to check if the shutdown timeout had triggered without polling the sleep. This PR polls the sleep timer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0 ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants