brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [12/15] git commit: Wait for the actual result of the shutdown call.
Date Wed, 01 Oct 2014 18:03:12 GMT
Wait for the actual result of the shutdown call.

Wait indefinitely for the shutdown result, otherwise we get "invalid" success, not aware if
there was indeed a shutdown.


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

Branch: refs/heads/master
Commit: 69718095f319fa087215d4f54e0f01d3b1582c17
Parents: c49d7d3
Author: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Authored: Wed Oct 1 19:14:45 2014 +0300
Committer: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Committed: Wed Oct 1 19:14:45 2014 +0300

----------------------------------------------------------------------
 usage/jsgui/src/main/webapp/assets/tpl/help/page.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/69718095/usage/jsgui/src/main/webapp/assets/tpl/help/page.html
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/tpl/help/page.html b/usage/jsgui/src/main/webapp/assets/tpl/help/page.html
index 9f4d21a..7d3ef0a 100644
--- a/usage/jsgui/src/main/webapp/assets/tpl/help/page.html
+++ b/usage/jsgui/src/main/webapp/assets/tpl/help/page.html
@@ -50,7 +50,7 @@ under the License.
             $.ajax({
                 type:"POST",
                 url:"/v1/server/shutdown",
-                data: { stopAppsFirst: stopAppsFirst },
+                data: { stopAppsFirst: stopAppsFirst, shutdownTimeout: 0, requestTimeout:
0 },
                 success:function (data) {
                     $('#help-page').fadeTo(500,0.1);
                 },


Mime
View raw message