Skip to content

Fix shutdown_finished duration field#2510

Merged
pkwarren merged 1 commit intomainfrom
pkw/fix-httpserver-duration-logging
Oct 23, 2023
Merged

Fix shutdown_finished duration field#2510
pkwarren merged 1 commit intomainfrom
pkw/fix-httpserver-duration-logging

Conversation

@pkwarren
Copy link
Member

As written, the duration value is calculated when the defer function is registered. We should update it to be calculated when the defer is executed instead.

As written, the duration value is calculated when the defer function is
registered. We should update it to be calculated when the defer is
executed instead.
@pkwarren pkwarren requested review from a user, bufdev, doriable and saquibmian October 23, 2023 14:48
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

LGTM.

@pkwarren pkwarren merged commit 90d79c5 into main Oct 23, 2023
@pkwarren pkwarren deleted the pkw/fix-httpserver-duration-logging branch October 23, 2023 14:57
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