Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Show warnings when a request is slow #1324

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DanielVandH
Copy link

@DanielVandH DanielVandH commented Sep 30, 2024

As discussed @davidanthoff , this outputs a warning when the duration of a request exceeds 1 second. I put the warning here instead of request_wapper so that the request name has a better formatting.

@DanielVandH DanielVandH changed the title Add timing information to all requests Show warnings when a request is slow Sep 30, 2024
@DanielVandH
Copy link
Author

Don't really know the best way to add a test for this.. I've tested it locally by just waiting for a slow request but is there something better to do to simulate a slow request in the tests?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant