Bug 812130 - Increase the account provisioner timeout to greater than the server timeout. r=mconley,a=Standard8. GECKO1701_2013010313_RELBRANCH
authorBlake Winton <bwinton@mozilla.com>
Thu, 15 Nov 2012 11:26:18 -0500
branchGECKO1701_2013010313_RELBRANCH
changeset 30913 92c047aa46aaa6149826673bc024ec905bc40222
parent 30902 818d43afd8a1f9835bff061ae9b7cb6741c057cd
child 30914 6beac08fc5681da2b2a3abf6a3a4dcaaf169deef
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, Standard8
bugs812130
Bug 812130 - Increase the account provisioner timeout to greater than the server timeout. r=mconley,a=Standard8.
mail/components/newmailaccount/content/accountProvisioner.js
--- a/mail/components/newmailaccount/content/accountProvisioner.js
+++ b/mail/components/newmailaccount/content/accountProvisioner.js
@@ -17,17 +17,17 @@ Cu.import("resource:///modules/gloda/log
 // Get a configured logger for this component.
 // To debug, set mail.provider.logging.dump (or .console)="All"
 let gLog = Log4Moz.getConfiguredLogger("mail.provider");
 let stringBundle = new StringBundle("chrome://messenger/locale/newmailaccount/accountProvisioner.properties");
 
 let isOSX = (Services.appinfo.OS == 'Darwin');
 
 const RETRY_TIMEOUT = 5000; // 5 seconds
-const CONNECTION_TIMEOUT = 10000; // 10 seconds
+const CONNECTION_TIMEOUT = 15000; // 15 seconds
 
 function isAccel (event) (isOSX && event.metaKey || event.ctrlKey)
 
 /**
  * Get the localstorage for this page in a way that works in chrome.
  *
  * Cribbed from
  *   mozilla/dom/tests/mochitest/localstorage/test_localStorageFromChrome.xhtml