Replies: 2 comments 1 reply
-
That rings a bell... Took me a moment to find the issue I was thinking of: #5196. That seems different though, as it's in local development, not production, like you. Few questions to help track down the problem:
I found this forum post by using a good old DDG search, it has a few pointers of things you could try. I would encourage you to contribute to that thread if you find a solution, as it may get more eyes on it that this repo's discussions. |
Beta Was this translation helpful? Give feedback.
-
Hi!
According to the thread you mention, it is hard to track and it shouldn't affect performance that bad. Hopefully whatever external code I use that might be causing it will solve the problem in a future version🤷🏻♂️ Using the Thanks! |
Beta Was this translation helpful? Give feedback.
-
On my production server I get four times the following warning:
/usr/local/lib/python3.12/site-packages/django/http/response.py:517: Warning: StreamingHttpResponse must consume synchronous iterators in order to serve them asynchronously. Use an asynchronous iterator instead.
I searched for the string
StreamingHttpResponse
in the repository and couldn't find it, so I guess it is being triggered by a package. According to Gemini 2.0 Flash this could have a non-trivial performance hit (couldn't find a reliable source to back the statement). django-browser-reload uses StreamingHttpResponse, but again, although there is mention to the project in past discussions, I couldn't find any reference to django-browser-reload in the current code.Anyone has any idea whether this merits digging into and, if so, where it might stem from?
Thanks!
Alan
Beta Was this translation helpful? Give feedback.
All reactions