Fix: DOS-625 Address action execution blocking new requests #189
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Implementation Description
BaseHTTPMiddleware
encode/starlette#919 which they claim is resolved, but still doesn't appear to be working for us. It may be due to one of our middlewares behaving in a particular way that causes this, but the fix applied here appears to be the simplest fix for now.Any new dependencies Introduced
No
How Has This Been Tested?
Should be covered by existing unit tests
PR Checklist:
Screenshots (if appropriate):
Reproduction Code (in a dara app):
Behaviour Before:
https://github.com/causalens/dara/assets/58470795/8ac1fef4-4505-4a39-a911-30fe8f794b7d
Behaviour After:
https://github.com/causalens/dara/assets/58470795/bd65f4b2-dc28-4669-8bbd-5b0827fe4f62