Commit f9c382d
committed
fix: reset SSE retry counter on successful reconnection, remove duplicate code
- Reset retries and backoff delay after a successful connection that
later drops, so transient disconnects don't exhaust the retry budget
- Distinguish 'connected-then-lost' from 'error' in attemptSSEConnection
- Remove duplicate unreachable code blocks in inferSemanticOp
(biome format artifact)1 parent 8eb274a commit f9c382d
2 files changed
Lines changed: 12 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
463 | 468 | | |
464 | 469 | | |
465 | 470 | | |
| |||
477 | 482 | | |
478 | 483 | | |
479 | 484 | | |
480 | | - | |
481 | | - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
482 | 488 | | |
483 | 489 | | |
484 | 490 | | |
485 | | - | |
| 491 | + | |
486 | 492 | | |
487 | 493 | | |
488 | | - | |
| 494 | + | |
489 | 495 | | |
490 | 496 | | |
491 | 497 | | |
492 | 498 | | |
493 | 499 | | |
494 | 500 | | |
495 | 501 | | |
496 | | - | |
| 502 | + | |
497 | 503 | | |
498 | 504 | | |
499 | 505 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | 149 | | |
161 | 150 | | |
162 | 151 | | |
| |||
0 commit comments