You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Limit number of simultaneous REST connections (#3326)
## Summary
This PR limits the number of simultaneous REST connections we process to prevent the exhaustion of resources and ultimately a crash.
Two limits are introduced: soft and hard. When the soft limit is exceeded, new connections are returned the 429 Too Many Requests http code. When the hard limit is exceeded, new connections are accepted and immediately closed.
Partially resolveshttps://github.com/algorand/go-algorand-internal/issues/1814.
## Test Plan
Added unit tests.
0 commit comments