From 8c4396c505ea245af4a542cf87b185a010484f5f Mon Sep 17 00:00:00 2001 From: "francois.cellier" Date: Mon, 12 Mar 2018 17:00:47 +0100 Subject: use the threading capability of Flask app; set the number of manager to 1 Change-Id: Ia700f83898de33372c52969f774ee8aa642ee36c --- moon_interface/Changelog | 28 ++++++++++++++++++++++++++++ moon_interface/moon_interface/__init__.py | 2 +- moon_interface/moon_interface/http_server.py | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 moon_interface/Changelog (limited to 'moon_interface') diff --git a/moon_interface/Changelog b/moon_interface/Changelog new file mode 100644 index 00000000..f58682a9 --- /dev/null +++ b/moon_interface/Changelog @@ -0,0 +1,28 @@ +# Copyright 2018 Open Platform for NFV Project, Inc. and its contributors +# This software is distributed under the terms and conditions of the 'Apache-2.0' +# license which can be found in the file 'LICENSE' in this package distribution +# or at 'http://www.apache.org/licenses/LICENSE-2.0'. + + +CHANGES +======= + +1.0.0 +----- +- First version of the manager + +2.0.0 +----- +- Version built inside the Keystone component + +3.0.0 +----- +- Version built outside the Keystone component + +4.0.0 +----- +- First micro-architecture version + +4.3.3 +----- +- use the threading capability of Flask app diff --git a/moon_interface/moon_interface/__init__.py b/moon_interface/moon_interface/__init__.py index 6f964a63..0fb32055 100644 --- a/moon_interface/moon_interface/__init__.py +++ b/moon_interface/moon_interface/__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.3.2" +__version__ = "4.3.3" diff --git a/moon_interface/moon_interface/http_server.py b/moon_interface/moon_interface/http_server.py index a2e25377..1e0858c0 100644 --- a/moon_interface/moon_interface/http_server.py +++ b/moon_interface/moon_interface/http_server.py @@ -133,4 +133,4 @@ 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 -- cgit 1.2.3-korg