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
Copy file name to clipboardExpand all lines: client/src/connection/ssh/const.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@
3
3
4
4
constSECOND=1000;
5
5
constMINUTE=60*SECOND;
6
-
constHOUR=60*MINUTE;
7
6
exportconstKEEPALIVE_INTERVAL=60*SECOND;//How often (in milliseconds) to send SSH-level keepalive packets to the server. Set to 0 to disable.
8
-
exportconstKEEPALIVE_UNANSWERED_THRESHOLD=12*HOUR;//How many consecutive, unanswered SSH-level keepalive packets that can be sent to the server before disconnection.
7
+
exportconstKEEPALIVE_UNANSWERED_THRESHOLD=
8
+
(15*MINUTE)/KEEPALIVE_INTERVAL;//How many consecutive, unanswered SSH-level keepalive packets that can be sent to the server before disconnection.
9
9
exportconstWORK_DIR_START_TAG="<WorkDirectory>";
10
10
exportconstWORK_DIR_END_TAG="</WorkDirectory>";
11
11
exportconstCONNECT_READY_TIMEOUT=5*MINUTE;//allow extra time due to possible prompting
0 commit comments