incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject git commit: AMBARI-3065 takes long time for registration to fail on manual w/bogus hostname. (atkach)
Date Mon, 02 Sep 2013 10:46:40 GMT
Updated Branches:
  refs/heads/trunk f8eea043f -> bbb4553b3


AMBARI-3065 takes long time for registration to fail on manual w/bogus hostname. (atkach)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/bbb4553b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/bbb4553b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/bbb4553b

Branch: refs/heads/trunk
Commit: bbb4553b34f97b85b66269ce7d081daf65c1cfa6
Parents: f8eea04
Author: atkach <andrey91.07@gmail.com>
Authored: Mon Sep 2 13:46:30 2013 +0300
Committer: atkach <andrey91.07@gmail.com>
Committed: Mon Sep 2 13:46:30 2013 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step3_controller.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bbb4553b/ambari-web/app/controllers/wizard/step3_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js
index 55dcc92..527ae96 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/ambari-web/app/controllers/wizard/step3_controller.js
@@ -25,7 +25,12 @@ App.WizardStep3Controller = Em.Controller.extend({
   bootHosts: [],
   registeredHosts: [],
   registrationStartedAt: null,
-  registrationTimeoutSecs: 120,
+  registrationTimeoutSecs: function(){
+    if(this.get('content.installOptions.manualInstall')){
+      return 15;
+    }
+    return 120;
+  }.property('content.installOptions.manualInstall'),
   stopBootstrap: false,
   isSubmitDisabled: true,
 


Mime
View raw message