You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trace.WriteLine($"{now:yyyy-MM-dd HH:mm:ss.fff zzz} home {c.Observable.HomeId} subscription {c.Observable.SubscriptionId}: no data received during last {sinceLastMessageMs:N0} ms; reconnection attempts {c.ReconnectionAttempts}; resubscription delay {delay.TotalSeconds}s not passed yet");
489
-
returnfalse;
490
-
}
480
+
Trace.WriteLine(
481
+
$"{now:yyyy-MM-dd HH:mm:ss.fff zzz} home {c.Observable.HomeId} subscription {c.Observable.SubscriptionId}: no data received during last {sinceLastMessageMs:N0} ms; reconnection attempts {c.ReconnectionAttempts}; resubscription delay {delay.TotalSeconds}s not passed yet"
482
+
);
483
+
returnfalse;
484
+
}
491
485
492
-
Trace.WriteLine($"{now:yyyy-MM-dd HH:mm:ss.fff zzz} home {c.Observable.HomeId} subscription {c.Observable.SubscriptionId}: no data received during last {sinceLastMessageMs:N0} ms; reconnection attempts {c.ReconnectionAttempts}; re-initialize data stream");
493
-
c.ReconnectionAttempts++;
494
-
c.LastReconnectionAttemptAt=now;
486
+
Trace.WriteLine(
487
+
$"{now:yyyy-MM-dd HH:mm:ss.fff zzz} home {c.Observable.HomeId} subscription {c.Observable.SubscriptionId}: no data received during last {sinceLastMessageMs:N0} ms; reconnection attempts {c.ReconnectionAttempts}; re-initialize data stream"
488
+
);
489
+
c.ReconnectionAttempts++;
490
+
c.LastReconnectionAttemptAt=now;
495
491
496
-
returntrue;
497
-
});
492
+
returntrue;
493
+
});
498
494
}
499
495
500
496
privatestaticTimeSpanGetDelay(intfailures)
@@ -529,17 +525,18 @@ private class WebSocketMessage
0 commit comments