Merge pull request #1197 from ericonr/timeout

Revert "Change handshake timout to 200ms"
master
Lorenz Hübschle-Schneider 4 years ago committed by GitHub
commit 57d0ce1282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/js/connection.js

@ -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…
Cancel
Save