Bug 812130 - Increase the account provisioner timeout to greater than the server timeout. r=mconley,a=Standard8.
authorBlake Winton <bwinton@mozilla.com>
Thu, 15 Nov 2012 11:26:18 -0500
changeset 13577 f174baaad9ff99ff373a0e76dcef6e76c7bd49f2
parent 13572 e7eb28b251f605f422287367f6496f5fcf561d39
child 13578 f9e20e7722f352975cf4de09b73a6e746177a914
push id11
push userbugzilla@standard8.plus.com
push dateWed, 21 Nov 2012 09:40:19 +0000
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