Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: remoting/webapp/base/js/fallback_signal_strategy.js

Issue 2838993002: Fix XMPP late response. (Closed)
Patch Set: Increase time-out based on analysis. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/fallback_signal_strategy.js
diff --git a/remoting/webapp/base/js/fallback_signal_strategy.js b/remoting/webapp/base/js/fallback_signal_strategy.js
index 68623ae8a695013e942b135491bc41e73ef6d56f..2f84f7fb2ad92567bb6f7e8516d383a6d835e69a 100644
--- a/remoting/webapp/base/js/fallback_signal_strategy.js
+++ b/remoting/webapp/base/js/fallback_signal_strategy.js
@@ -39,7 +39,7 @@ remoting.FallbackSignalStrategy = function(primary,
* @private {number}
* @const
*/
- this.PRIMARY_CONNECT_TIMEOUT_MS_ = 10 * 1000;
+ this.PRIMARY_CONNECT_TIMEOUT_MS_ = 25 * 1000;
Jamie 2017/04/26 17:25:40 Looking at the stats, there's a big spike in XMPP/
/**
* @enum {string}
@@ -231,6 +231,7 @@ remoting.FallbackSignalStrategy.prototype.onPrimaryStateChanged_ =
this.updateProgress_(
this.primary_,
remoting.FallbackSignalStrategy.Progress.SUCCEEDED_LATE);
+ return; // Don't notify the external callback
}
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698