Cache bleed between concurrent requests
Closed this issue · 0 comments
mscharley commented
Describe the bug.
The current setup deals with nested requests because it makes the assumption that while the nested request is processing, the parent request is paused waiting for it.
This breaks down during concurrent requests and could lead to cache bleed between the request caches. The singleton cache should be fine as this is shared between requests anyway.
Steps to reproduce
TBC - I need to write a test to try to force this to happen. It is extremely unlikely in most cases I believe.
Expected behaviour
No response
DOT
1.6.0
TypeScript
5
Decorator type
TC39
Node
20
Add any other context about the problem here.
No response