resgateio / resgate

A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.
https://resgate.io
MIT License
689 stars 67 forks source link

Deadlock on throttled access requests to same resource #217

Closed jirenius closed 3 years ago

jirenius commented 3 years ago

Issue

If Resgate is configured with resetThrottle set to a value > 0, and a system reset event causes multiple access requests to be sent on the same resource, Resgate may deadlock and become unresponsive.

jirenius commented 3 years ago

Resolved in PR #218