diff options
author | francois.cellier <francois.cellier@orange.com> | 2018-03-12 17:00:47 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2018-03-15 16:16:07 +0100 |
commit | 8c4396c505ea245af4a542cf87b185a010484f5f (patch) | |
tree | 4f4a00943af0914b6180fba14cf6ab3388fed2db /moon_orchestrator | |
parent | 73326131f58c5ca208cd54025e12ee9de543d4a7 (diff) |
use the threading capability of Flask app; set the number of manager to 1
Change-Id: Ia700f83898de33372c52969f774ee8aa642ee36c
Diffstat (limited to 'moon_orchestrator')
-rw-r--r-- | moon_orchestrator/Changelog | 4 | ||||
-rw-r--r-- | moon_orchestrator/moon_orchestrator/__init__.py | 2 | ||||
-rw-r--r-- | moon_orchestrator/moon_orchestrator/http_server.py | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/moon_orchestrator/Changelog b/moon_orchestrator/Changelog index 31aabf5d..783c9130 100644 --- a/moon_orchestrator/Changelog +++ b/moon_orchestrator/Changelog @@ -23,3 +23,7 @@ CHANGES ----- - add bootstrap file to start Orchestrator with all configuration +4.4.1 +----- +- the processing of a request is now performed in a thread + diff --git a/moon_orchestrator/moon_orchestrator/__init__.py b/moon_orchestrator/moon_orchestrator/__init__.py index 85c245e0..bc8f2781 100644 --- a/moon_orchestrator/moon_orchestrator/__init__.py +++ b/moon_orchestrator/moon_orchestrator/__init__.py @@ -3,4 +3,4 @@ # license which can be found in the file 'LICENSE' in this package distribution # or at 'http://www.apache.org/licenses/LICENSE-2.0'. -__version__ = "4.4.0" +__version__ = "4.4.1" diff --git a/moon_orchestrator/moon_orchestrator/http_server.py b/moon_orchestrator/moon_orchestrator/http_server.py index 85e29cd0..1cb12618 100644 --- a/moon_orchestrator/moon_orchestrator/http_server.py +++ b/moon_orchestrator/moon_orchestrator/http_server.py @@ -158,7 +158,7 @@ class HTTPServer(Server): }) def run(self): - self.app.run(host=self._host, port=self._port) # nosec + self.app.run(host=self._host, port=self._port, threaded=True) # nosec @staticmethod def __filter_str(data): |