Skip to content

Use new conduit API when computing elapsed time #3156

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
merged 2 commits into from
Jan 3, 2021

Conversation

jtgeibel
Copy link
Member

@jtgeibel jtgeibel commented Jan 3, 2021

The request start time is now captured by a conduit based server. This
ensures that the logged elapsed time is accurate, even if the request
queues waiting for a background thread to run on.

Relevent upstream changes:

Unrelated upstream changes (minor API cleanup):

r? @Turbo87
cc @pietroalbini

The request start time is now captured by a `conduit` based server. This
ensures that the logged elapsed time is accurate, even if the request
queues waiting for a background thread to run on.
@Turbo87
Copy link
Member

Turbo87 commented Jan 3, 2021

LGTM 👍

@bors r+

@bors
Copy link
Contributor

bors commented Jan 3, 2021

📌 Commit a4df38e has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Jan 3, 2021

⌛ Testing commit a4df38e with merge 7a8c54c...

@bors
Copy link
Contributor

bors commented Jan 3, 2021

☀️ Test successful - checks-actions
Approved by: Turbo87
Pushing 7a8c54c to master...

@bors bors merged commit 7a8c54c into rust-lang:master Jan 3, 2021
@bors bors mentioned this pull request Jan 3, 2021
4 tasks
bors added a commit that referenced this pull request Jan 14, 2021
Bump conduit-hyper to ensure request start time is tracked

I forgot to publish the new conduit-hyper, which now adds `StartInstant` to the request extensions.

conduit-rust/conduit-hyper@v0.3.0-alpha.6...v0.3.0-alpha.7 - See also #3156 which backported this to `alpha.5.1`.

r? `@Turbo87`
@jtgeibel jtgeibel deleted the record-start-instant-after-headers branch March 7, 2021 17:49
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.

4 participants