Skip to content

Commit dbb093d

Browse files
grrowlclaude
andcommitted
chore(client): reconcile feat/ssr with 0.3.2 after rebase onto main
- transport: express the failed-open reconnect recovery (#12) via the existing scheduleReconnect() rather than the inline form main carried (main had no such method; feat/ssr does) — same behavior, one path. - regenerate package-lock against the merged package.json (0.4.0-dev.0, vendored PR-1564 tarballs). The 0.3.2 fixes (#11#15) now coexist with the SSR feature: readSyncSnapshot + readChangesSinceFor + wire guards in sync-do; highWaterSeq + per-table indexed reads + quoted trigger DDL in changes; ADR index carries 0011+0012. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3ecd0cc commit dbb093d

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/client/transport.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,7 @@ export class WebSocketTransport {
248248
// live — otherwise one unreachable attempt wedges the transport forever.
249249
this.connectPromise.catch(() => {
250250
this.connectPromise = null
251-
if (!this.intentionallyClosed && this.handlers.size > 0) {
252-
this.reconnecting = true
253-
setTimeout(() => {
254-
void this.connect().catch(() => {
255-
/* next attempt retries on the following close */
256-
})
257-
}, this.reconnectDelayMs)
258-
}
251+
if (!this.intentionallyClosed && this.handlers.size > 0) this.scheduleReconnect()
259252
})
260253
return this.connectPromise
261254
}

0 commit comments

Comments
 (0)