Skip to content

Commit 33c250d

Browse files
committed
fix: retry all streaming errors
1 parent c21e972 commit 33c250d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/repository/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ export default class Repository extends EventEmitter implements EventEmitter {
132132
this.segments = new Map();
133133
this.eventSource = eventSource;
134134
if (this.eventSource) {
135-
// on first connect it replicates the fetch from the start() call.
136-
// On re-connect it guaranteed catching up with the latest state.
135+
// On re-connect it guarantees catching up with the latest state.
137136
this.eventSource.addEventListener('unleash-connected', (event: { data: string }) => {
138137
// reconnect
139138
if (this.initialEventSourceConnected) {

0 commit comments

Comments
 (0)