Different parts of the codebase use inconsistent Axios request methods (axiosWithRetry, requestWithRetry, direct axios.get, etc.) without uniform timeout enforcement. While requestWithRetry has default timeouts, other methods lack this protection, potentially leading to hanging requests.
Proposed Solution
Implement an Axios interceptor to enforce configurable global timeouts across all requests to ensure consistent timeout handling without manual intervention by developers.
Tasks
Impact
This fix will prevent indefinitely waiting for Axios requests across the entire codebase.
Different parts of the codebase use inconsistent Axios request methods (
axiosWithRetry, requestWithRetry, directaxios.get, etc.) without uniform timeout enforcement. WhilerequestWithRetryhas default timeouts, other methods lack this protection, potentially leading to hanging requests.Proposed Solution
Implement an Axios interceptor to enforce configurable global timeouts across all requests to ensure consistent timeout handling without manual intervention by developers.
Tasks
Impact
This fix will prevent indefinitely waiting for Axios requests across the entire codebase.