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.
@@ -1898,7 +1898,10 @@ var CrossTabDataBus = class {
1898
1898
  if (now - this.lastRecoveryAt >= this.recoveryCooldownMs) {
1899
1899
  this.lastRecoveryAt = now;
1900
1900
  const attempt = ++this.recoveryAttempt;
1901
- if (attempt > this.recoveryMaxAttempts) return;
1901
+ if (attempt > this.recoveryMaxAttempts) {
1902
+ this.trace.event({ type: "reliability", operation: "transport_recovery", attempt: this.recoveryMaxAttempts, outcome: "exhausted" });
1903
+ return;
1904
+ }
1902
1905
  this.trace.event({ type: "reliability", operation: "transport_recovery", attempt, outcome: "scheduled" });
1903
1906
  setTimeout(() => {
1904
1907
  if (this.stopping || !this.started || this.suspended) return;