Change handshake timout to 200ms

codeql
Jeremy Mahieu 5 years ago
parent 479cda7389
commit 5fb51c07e6
  1. 2
      js/connection.js

@ -50,7 +50,7 @@ weechat.factory('connection',
// too high, this time should be reduced if determined the weechat
// is lower than 2.9
// This time also includes the time it takes to generate the hash
const WAIT_TIME_OLD_WEECHAT = 2000; //ms
const WAIT_TIME_OLD_WEECHAT = 200; //ms
// Wait long enough to assume we are on a version < 2.9
var handShakeTimeout = setTimeout(function () {

Loading…
Cancel
Save