fix(schedule): stop cancelled mutations

This commit is contained in:
pku-xht
2026-08-07 23:59:57 +08:00
committed by Tianyi Cui
parent c4d9e2edb6
commit fa466cf673
3 changed files with 112 additions and 5 deletions

View File

@@ -943,6 +943,8 @@ export class Session implements SessionFace {
retryGap = hasGap && repairedTail !== null
&& (previousTail === null || repairedTail > previousTail)
} else {
// Keep buffered events for the next live frame or reconnect; retrying
// immediately would spin against the same unavailable history endpoint.
this.mergeWindow()
}
} catch (error) {