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

Add response time in logs #201

Merged
merged 1 commit into from Jul 7, 2020
Merged

Add response time in logs #201

merged 1 commit into from Jul 7, 2020

Conversation

tanaysoni
Copy link
Contributor

The REST API access logging for Gunicorn-Uvicorn seems to be broken. There are related discussions in encode/uvicorn#527 and encode/uvicorn#389.

For now, this PR adds logging of the time manually for the /doc-qa endpoint.

@tanaysoni tanaysoni requested a review from tholor July 7, 2020 10:11
@tanaysoni tanaysoni merged commit ff7e355 into master Jul 7, 2020
@tanaysoni tanaysoni deleted the log-time branch July 7, 2020 10:28
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

2 participants