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.
@@ -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) return;
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;