diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-07 20:19:23 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-07 20:19:23 +0000 |
commit | 6b7a8a38f609117572820711638508a23ad57850 (patch) | |
tree | cfd15ced8363fa5163cbf874ec01178254169fbf /sca-cpp/trunk/modules/python/mod-python.cpp | |
parent | 9f67144615b018828226949701a6935336cbfc43 (diff) |
Support HTTPD graceful restarts for non-stop operation. Simplified Python and Java error capture and recovery.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@907470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/python/mod-python.cpp')
-rw-r--r-- | sca-cpp/trunk/modules/python/mod-python.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/python/mod-python.cpp b/sca-cpp/trunk/modules/python/mod-python.cpp index a45b83997f..df94f2e8a1 100644 --- a/sca-cpp/trunk/modules/python/mod-python.cpp +++ b/sca-cpp/trunk/modules/python/mod-python.cpp @@ -56,6 +56,8 @@ const failable<bool> stop(unused ServerConf& sc) { * Restart the module. */ const failable<bool> restart(unused ServerConf& sc) { + // Start a Python runtime + sc.moduleConf = new (gc_new<python::PythonRuntime>()) python::PythonRuntime(); return true; } |