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

Correct Request Timing for the Server #397

Merged
merged 5 commits into from May 28, 2021

Conversation

joka921
Copy link
Member

@joka921 joka921 commented May 8, 2021

Previously the Server class had only one timer instance. This lead to wrong request times in the result json when
multiple requests were processed concurrently (this often happens in the autocompletion evaluation).

This PR introduces one timer per request.

@joka921 joka921 marked this pull request as draft May 8, 2021 08:12
No there is only one timer per Request left.
@joka921 joka921 requested a review from hannahbast May 8, 2021 08:28
@joka921 joka921 marked this pull request as ready for review May 8, 2021 08:29
Copy link
Member Author

@joka921 joka921 left a comment

Choose a reason for hiding this comment

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

The only thing I have found, has already been changed.

Comment on lines 369 to 370
// TODO(schnelle) we really should use a json library
// such as https://github.com/nlohmann/json
Copy link
Member Author

Choose a reason for hiding this comment

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

We now do, remove this comment.

@joka921 joka921 merged commit 5a26677 into ad-freiburg:master May 28, 2021
@joka921 joka921 deleted the f.CorrectTotalTime branch May 28, 2021 07:01
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.

None yet

1 participant