Skip to content

Conversation

@jaymode
Copy link
Member

@jaymode jaymode commented May 7, 2019

The close method in Node uses a StopWatch to time to closing of
various services. However, the call to log the timing was made before
any of the services had been closed and therefore no timing would be
printed out. This change moves the timing log call to be a closeable
that is the last item closed.

@jaymode jaymode added >bug :Core/Infra/Core Core issues without another label v8.0.0 v7.2.0 labels May 7, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@jaymode jaymode requested a review from jasontedor May 7, 2019 20:46
Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

The close method in Node uses a StopWatch to time to closing of
various services. However, the call to log the timing was made before
any of the services had been closed and therefore no timing would be
printed out. This change moves the timing log call to be a closeable
that is the last item closed.
@jaymode
Copy link
Member Author

jaymode commented May 8, 2019

@elasticmachine run elasticsearch-ci/1
@elasticmachine run elasticsearch-ci/packaging-sample

@jaymode
Copy link
Member Author

jaymode commented May 8, 2019

@elasticmachine run elasticsearch-ci/1

@jaymode
Copy link
Member Author

jaymode commented May 9, 2019

@elasticmachine run elasticsearch-ci/1
@elasticmachine run elasticsearch-ci/docbldesx

@jaymode
Copy link
Member Author

jaymode commented May 9, 2019

@elasticmachine run elasticsearch-ci/1

@jaymode jaymode merged commit 3911770 into elastic:master May 9, 2019
@jaymode jaymode deleted the close_timer branch May 9, 2019 15:41
jaymode added a commit that referenced this pull request May 9, 2019
The close method in Node uses a StopWatch to time to closing of
various services. However, the call to log the timing was made before
any of the services had been closed and therefore no timing would be
printed out. This change moves the timing log call to be a closeable
that is the last item closed.
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
The close method in Node uses a StopWatch to time to closing of
various services. However, the call to log the timing was made before
any of the services had been closed and therefore no timing would be
printed out. This change moves the timing log call to be a closeable
that is the last item closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants