Skip to content

Commit 3b153c0

Browse files
committed
Temp rollback PR#8718 so we can add tests.
1 parent 82373b3 commit 3b153c0

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.changeset/chilled-clocks-remember.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/database/src/core/PersistentConnection.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -797,10 +797,8 @@ export class PersistentConnection extends ServerActions {
797797
this.lastConnectionEstablishedTime_ = null;
798798
}
799799

800-
const timeSinceLastConnectAttempt = Math.max(
801-
0,
802-
new Date().getTime() - this.lastConnectionAttemptTime_
803-
);
800+
const timeSinceLastConnectAttempt =
801+
new Date().getTime() - this.lastConnectionAttemptTime_;
804802
let reconnectDelay = Math.max(
805803
0,
806804
this.reconnectDelay_ - timeSinceLastConnectAttempt

0 commit comments

Comments
 (0)