Skip to content

Return immediately from Job.wait() if a Job has a response set#11

Merged
ohaibbq merged 2 commits into
candidate/rb20240328from
dan/candidate-job-wait-return
Apr 11, 2024
Merged

Return immediately from Job.wait() if a Job has a response set#11
ohaibbq merged 2 commits into
candidate/rb20240328from
dan/candidate-job-wait-return

Conversation

@ohaibbq

@ohaibbq ohaibbq commented Apr 11, 2024

Copy link
Copy Markdown

On my performance refactor feature branch, job insertion was taking ~101ms. I narrowed the slowdown due to the ticker waiting 100ms before returning. This returns immediately if the Job already has a response set.

@ohaibbq ohaibbq merged commit f593ce6 into candidate/rb20240328 Apr 11, 2024
@ohaibbq ohaibbq deleted the dan/candidate-job-wait-return branch August 21, 2025 18:54
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