Commit 081de17
fix: resolve syntax errors in strict timeout cap from PR #569
- Remove duplicate detect_mcp_client_simple() call
- Remove orphaned closing paren and duplicate return statement
- Extract magic values into named constants (ADAPTIVE_TIMEOUT_CLIENT,
STRICT_CLIENT_TIMEOUT_CAP_S)
- Fix dead else-path: guard with strict_timeout < timeout
- Clarify warning messages with "(before client cap)" suffix
- Add trailing newline (PEP 8)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 77cf360 commit 081de17
1 file changed
+14
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | 261 | | |
| 262 | + | |
| 263 | + | |
263 | 264 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
0 commit comments