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 <[email protected]> Authored: Mon Sep 2 13:46:30 2013 +0300 Committer: atkach <[email protected]> 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,
