Commit 8af2d12
committed
fix(server): clear keepalive timer before reassignment in replayEvents
Prevent timer handle leaks when concurrent reconnect requests bypass
the conflict check. This edge case is possible when EventStore omits the
optional getStreamIdForEventId method, allowing duplicate replay
attempts to start new timers without cleaning up existing ones.1 parent 3c3340c commit 8af2d12
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
| 589 | + | |
589 | 590 | | |
590 | 591 | | |
591 | 592 | | |
| |||
0 commit comments