Commit 7345bd7
committed
Clean up idle timeout implementation
- Remove unrelated blank line between logger.info and try block
- Only create CancelScope when session_idle_timeout is set, keeping
the no-timeout path identical to the original code
- Add docstring to _effective_idle_timeout explaining the 3x
retry_interval multiplier rationale1 parent 2c87708 commit 7345bd7
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
| |||
335 | 334 | | |
336 | 335 | | |
337 | 336 | | |
338 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
339 | 345 | | |
340 | 346 | | |
341 | 347 | | |
| |||
0 commit comments