Two changes combined: 1. historical-query-slow-connection: Migrate all historical query pages to read_sql_df_slow with semaphore concurrency control (max 3), raise DB slow timeout to 300s, gunicorn timeout to 360s, and unify frontend timeouts to 360s for all historical pages. 2. hold-resource-history-dataset-cache: Convert hold-history and resource-history from multi-query to single-query + dataset cache pattern (L1 ProcessLevelCache + L2 Redis parquet/base64, TTL=900s). Replace old GET endpoints with POST /query + GET /view two-phase API. Frontend auto-retries on 410 cache_expired. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
523 B
523 B
MODIFIED Requirements
Requirement: Slow query timeout configuration
The query-tool service read_sql_df_slow call for full split/merge history SHALL use the config-driven default timeout instead of a hardcoded 120-second timeout.
Scenario: Full history query uses config timeout
- WHEN
full_history=Truesplit/merge query is executed - THEN it uses
read_sql_df_slowwith the default timeout fromDB_SLOW_CALL_TIMEOUT_MS(300s) - AND the hardcoded
timeout_seconds=120parameter is removed