cross-tab-worker-databus 0.20.19 → 0.20.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/centrifuge.js +1 -1
- package/dist/{chunk-TC7XXOVN.js → chunk-2PUSQWOL.js} +5 -2
- package/dist/{chunk-TC7XXOVN.js.map → chunk-2PUSQWOL.js.map} +2 -2
- package/dist/cjs/centrifuge.cjs +4 -1
- package/dist/cjs/centrifuge.cjs.map +2 -2
- package/dist/cjs/index.cjs +4 -1
- package/dist/cjs/index.cjs.map +2 -2
- package/dist/core/data-bus.d.ts.map +1 -1
- package/dist/core/trace.d.ts +1 -1
- package/dist/core/trace.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/docs/roadmap.md +5 -1
- package/docs/zh/roadmap.md +5 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1923,7 +1923,10 @@ var CrossTabDataBus = class {
|
|
|
1923
1923
|
if (now - this.lastRecoveryAt >= this.recoveryCooldownMs) {
|
|
1924
1924
|
this.lastRecoveryAt = now;
|
|
1925
1925
|
const attempt = ++this.recoveryAttempt;
|
|
1926
|
-
if (attempt > this.recoveryMaxAttempts)
|
|
1926
|
+
if (attempt > this.recoveryMaxAttempts) {
|
|
1927
|
+
this.trace.event({ type: "reliability", operation: "transport_recovery", attempt: this.recoveryMaxAttempts, outcome: "exhausted" });
|
|
1928
|
+
return;
|
|
1929
|
+
}
|
|
1927
1930
|
this.trace.event({ type: "reliability", operation: "transport_recovery", attempt, outcome: "scheduled" });
|
|
1928
1931
|
setTimeout(() => {
|
|
1929
1932
|
if (this.stopping || !this.started || this.suspended) return;
|