Revert "Change handshake timout to 200ms"
This reverts commit 5fb51c07e6
.
200ms is too little for some setups, and will make authentication not
work even with weechat>=3.0.
For a specific example, my VPN setup has a roundtrip of 300ms.
This commit is contained in:
parent
03d83d5361
commit
8eefd59095
@ -51,7 +51,7 @@ export const connectionFactory = ['$rootScope', '$log', 'handlers', 'models', 's
|
|||||||
// too high, this time should be reduced if determined the weechat
|
// too high, this time should be reduced if determined the weechat
|
||||||
// is lower than 2.9
|
// is lower than 2.9
|
||||||
// This time also includes the time it takes to generate the hash
|
// This time also includes the time it takes to generate the hash
|
||||||
var WAIT_TIME_OLD_WEECHAT = 200; //ms
|
var WAIT_TIME_OLD_WEECHAT = 2000; //ms
|
||||||
|
|
||||||
// Wait long enough to assume we are on a version < 2.9
|
// Wait long enough to assume we are on a version < 2.9
|
||||||
var handShakeTimeout = setTimeout(function () {
|
var handShakeTimeout = setTimeout(function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user