openvsx
openvsx copied to clipboard
UI code sends high number of requests to backend.
We just had a case where the loadMore function sent excessive requests to the backend at 45 requests / second:
https://github.com/eclipse/openvsx/blob/25173d633fb5e2417f0583ef304d25ce6a9a58f0/webui/src/pages/extension-list/extension-list.tsx#L102-L134
Request example:
Proposed solution: If a request returns an error, don't immediately retry.
We should also add rate limiting https://github.com/eclipse/openvsx/issues/502