-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add timeout handler on FE #3537
Commits on Aug 23, 2024
-
✨ (frontend): Add TimeoutErrorComponent to handle timeout errors in A…
…PI requests 🔧 (frontend): Add healthCheckTimeout state and setHealthCheckTimeout function to utilityStore for managing timeout errors in API requests
Configuration menu - View commit details
-
Copy full SHA for a6ffa7e - Browse repository at this point
Copy the full SHA a6ffa7eView commit details -
📝 (constants.ts): add constants for server health check intervals to …
…improve code readability and maintainability 🐛 (use-get-health.ts): fix refetch interval value to use the newly added constant REFETCH_SERVER_HEALTH_INTERVAL for consistency and easier maintenance
Configuration menu - View commit details
-
Copy full SHA for 76debc7 - Browse repository at this point
Copy the full SHA 76debc7View commit details
Commits on Aug 26, 2024
-
📝 (api.tsx): Add utilityStore import to improve code organization
📝 (api.tsx): Add createNewError503 function to handle custom 503 errors 📝 (api.tsx): Add AxiosError import for type checking 📝 (api.tsx): Refactor error handling logic for authentication errors 📝 (use-get-health.ts): Add createNewError503 import for custom 503 errors 📝 (use-get-health.ts): Add AxiosError import for type checking 📝 (use-get-health.ts): Refactor error handling logic for server busy status 📝 (index.tsx): Add AxiosError import for type checking 📝 (index.tsx): Add useEffect and useState imports for state management 📝 (index.tsx): Refactor error handling logic for server status and retries 📝 (utilityStore.ts): Add retriesApiRequest state and setRetriesApiRequest function 📝 (axios-error-503.ts): Create function to generate custom 503 error responses 📝 (index.ts): Add retriesApiRequest state and setRetriesApiRequest function to UtilityStoreType
Configuration menu - View commit details
-
Copy full SHA for 7abcf45 - Browse repository at this point
Copy the full SHA 7abcf45View commit details -
🔧 (utilityStore.ts): remove unused retriesApiRequest and setRetriesAp…
…iRequest functions to clean up code and improve maintainability 🔧 (index.ts): remove unused retriesApiRequest and setRetriesApiRequest types to keep type definitions consistent and up to date
Configuration menu - View commit details
-
Copy full SHA for f559432 - Browse repository at this point
Copy the full SHA f559432View commit details -
Configuration menu - View commit details
-
Copy full SHA for d37f0bb - Browse repository at this point
Copy the full SHA d37f0bbView commit details -
✨ (nginx.conf): add new health endpoint to proxy_pass requests to the…
… backend server for health checks
Configuration menu - View commit details
-
Copy full SHA for aab6e51 - Browse repository at this point
Copy the full SHA aab6e51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1befecb - Browse repository at this point
Copy the full SHA 1befecbView commit details -
✨ (langflow): Add support for configuring the number of retries for t…
…he health check feature. This change introduces a new option `health_check_max_retries` that can be set via environment variable or command line argument to control the maximum number of retries for the health check process.
Configuration menu - View commit details
-
Copy full SHA for f4548e9 - Browse repository at this point
Copy the full SHA f4548e9View commit details -
Merge branch 'cz/timeoutHandle' of https://github.com/langflow-ai/lan…
…gflow into cz/timeoutHandle
Configuration menu - View commit details
-
Copy full SHA for 56104c9 - Browse repository at this point
Copy the full SHA 56104c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ace8b1 - Browse repository at this point
Copy the full SHA 9ace8b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac92dd5 - Browse repository at this point
Copy the full SHA ac92dd5View commit details