Page MenuHomePhabricator

D10946.diff
No OneTemporary

D10946.diff

diff --git a/lib/types/socket-types.js b/lib/types/socket-types.js
--- a/lib/types/socket-types.js
+++ b/lib/types/socket-types.js
@@ -498,6 +498,9 @@
+lateResponses: $ReadOnlyArray<number>,
+unreachable: boolean,
+connectionIssue: ?ConnectionIssue,
+ // When this is flipped to true, a session recovery is attempted
+ // This can happen when the keyserver invalidates the session
+ +sessionRecoveryInProgress: boolean,
};
export const connectionInfoValidator: TInterface<ConnectionInfo> =
tShape<ConnectionInfo>({
@@ -518,6 +521,7 @@
'not_logged_in_error',
]),
),
+ sessionRecoveryInProgress: t.Boolean,
});
export const defaultConnectionInfo: ConnectionInfo = {
status: 'connecting',
@@ -525,6 +529,7 @@
lateResponses: [],
unreachable: false,
connectionIssue: null,
+ sessionRecoveryInProgress: false,
};
export const setConnectionIssueActionType = 'SET_CONNECTION_ISSUE';

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 3:10 PM (19 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580255
Default Alt Text
D10946.diff (938 B)

Event Timeline