Commit 3d7ef3b
committed
fix(webapp): harden runs-list pool timeout and cap validation
Client request timeout now sits above the server max_execution_time (default
40s vs 35s, and the factory forces it to at least exec + 5s), so the server-side
cap is what stops a slow query and the client stays connected to receive the
error, instead of aborting first and leaving the query running. The numeric caps
reject zero and negative values, since ClickHouse treats 0 as unlimited for
max_execution_time and max_memory_usage, which would silently disable them.1 parent 1592856 commit 3d7ef3b
2 files changed
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2233 | 2233 | | |
2234 | 2234 | | |
2235 | 2235 | | |
2236 | | - | |
2237 | | - | |
2238 | | - | |
2239 | | - | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
2240 | 2244 | | |
2241 | 2245 | | |
2242 | 2246 | | |
| |||
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
306 | 319 | | |
307 | 320 | | |
308 | 321 | | |
| |||
345 | 358 | | |
346 | 359 | | |
347 | 360 | | |
348 | | - | |
| 361 | + | |
349 | 362 | | |
350 | 363 | | |
351 | 364 | | |
| |||
591 | 604 | | |
592 | 605 | | |
593 | 606 | | |
594 | | - | |
| 607 | + | |
595 | 608 | | |
596 | 609 | | |
597 | 610 | | |
| |||
0 commit comments