openclaw-quiubo 2.6.2 → 2.6.3

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/dist/index.js CHANGED
@@ -12603,9 +12603,9 @@ var RealtimeGateway = class {
12603
12603
  await this.startPusher();
12604
12604
  } else {
12605
12605
  this.log.info?.("No Pusher config \u2014 using polling only");
12606
- this.startPolling();
12607
- if (this.agentId) this.startHeartbeat();
12608
12606
  }
12607
+ this.startPolling();
12608
+ if (this.agentId) this.startHeartbeat();
12609
12609
  }
12610
12610
  /**
12611
12611
  * Stop the gateway.
@@ -12662,8 +12662,7 @@ var RealtimeGateway = class {
12662
12662
  });
12663
12663
  this.pusherClient.connection.bind("connected", () => {
12664
12664
  this.pusherConnected = true;
12665
- log.info?.("Pusher connected");
12666
- this.stopPolling();
12665
+ log.info?.("Pusher connected (polling continues as safety net)");
12667
12666
  if (this.agentId) this.startHeartbeat();
12668
12667
  });
12669
12668
  this.pusherClient.connection.bind("disconnected", () => {
@@ -12879,7 +12878,7 @@ var RealtimeGateway = class {
12879
12878
  }
12880
12879
  }
12881
12880
  async poll() {
12882
- if (this.polling || this.pusherConnected) return;
12881
+ if (this.polling) return;
12883
12882
  this.polling = true;
12884
12883
  try {
12885
12884
  this.clearStaleSuppression();