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

Deadline to use a monotonic timer #8597

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

crusaderky
Copy link
Collaborator

Prevent issue where a timeout expires prematurely just because the wall clock is pulled back halfway through.

@crusaderky crusaderky requested a review from fjetter as a code owner March 21, 2024 15:48
Copy link
Member

@hendrikmakait hendrikmakait left a comment

Choose a reason for hiding this comment

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

Thanks, @crusaderky!

return inst

@property
def expires_at(self) -> float | None:
Copy link
Member

Choose a reason for hiding this comment

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

I'm not even sure if this is strictly necessary or if we should just remove it and make expires_at_mono private.

Copy link
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    29 files  ± 0      29 suites  ±0   11h 29m 35s ⏱️ + 17m 23s
 4 055 tests ± 0   3 934 ✅  -  1    109 💤 ±0  12 ❌ +1 
54 888 runs  +18  52 395 ✅ +23  2 409 💤  - 6  84 ❌ +1 

For more details on these failures, see this check.

Results for commit d20c0b1. ± Comparison against base commit 8927bfd.

@crusaderky crusaderky merged commit abd1539 into dask:main Mar 22, 2024
21 of 36 checks passed
@crusaderky crusaderky deleted the Deadline branch March 22, 2024 11:31
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