Merge from vscode 63d257f78a36951ab7e821170ba675b11dc06d48 (#5240)

This commit is contained in:
Anthony Dresser
2019-04-26 17:24:54 -07:00
committed by GitHub
parent 8cda364210
commit 9b90400abd
17 changed files with 117 additions and 42 deletions

View File

@@ -141,13 +141,13 @@ export const enum ProtocolConstants {
*/
AcknowledgeTimeoutTime = 10000, // 10 seconds
/**
* Send at least a message every 30s for keep alive reasons.
* Send at least a message every 5s for keep alive reasons.
*/
KeepAliveTime = 30000, // 30 seconds
KeepAliveTime = 5000, // 5 seconds
/**
* If there is no message received for 60 seconds, consider the connection closed...
* If there is no message received for 10 seconds, consider the connection closed...
*/
KeepAliveTimeoutTime = 60000, // 60 seconds
KeepAliveTimeoutTime = 10000, // 10 seconds
/**
* If there is no reconnection within this time-frame, consider the connection permanently closed...
*/