-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
EnhancementNew feature or requestNew feature or request
Description
Is there an existing issue for this?
- I have searched the existing issues
Summary
Several timeout constants in ApiConstants.tsx are currently hardcoded and cannot be changed without modifying the source code and rebuilding the application:
REQUEST_TIMEOUT_MS(20s) - General API request timeoutDEFAULT_ACTION_TIMEOUT(10s) - Default action timeoutDEFAULT_EXECUTE_ACTION_TIMEOUT_MS(15s) - Action execution timeoutDEFAULT_TEST_DATA_SOURCE_TIMEOUT_MS(30s) - Datasource test timeoutDEFAULT_APPSMITH_AI_QUERY_TIMEOUT_MS(60s) - AI query timeoutFILE_UPLOAD_TRIGGER_TIMEOUT_MS(60s) - File upload timeout
Why should this be worked on?
Different deployment environments have different network characteristics and backend response times. Administrators need the ability to tune client-side timeout values to match their infrastructure requirements without rebuilding the application.
The feature should follow the same runtime injection pattern already used for other configuration values (Sentry DSN, Segment key, etc.) via environment variables and window.APPSMITH_FEATURE_CONFIGS.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or request