-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Async compatible StaticFilesPanel
#1983
Async compatible StaticFilesPanel
#1983
Conversation
… ready monkey patching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this a lot!
I think it still need those integration type tests. on it. |
I have added one new test that practically tests panel's async compatibility which it failed before. We can test the concurrent capabilities in integration testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I have minor changes I'd like to see.
Description
Uses signals for automatic instrumentation of
StaticFilesPanel
and trigger recording mechanis.and 2
ContextVar
one for storing staticfiles particular to that request context and another for to identify signal for each request context.Checklist:
docs/changes.rst
.