Change-Id: If70f5f4fb14452ab7a11075821124ddea2bad86d
Issue-ID: VFC-1336
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
swagger-spec-validator>=2.1.0
# for onap logging
-onappylog>=1.0.6
\ No newline at end of file
+onappylog>=1.0.6
+
+# uwsgi for parallel processing
+uwsgi
\ No newline at end of file
mkdir -p $logDir
fi
-nohup python manage.py runserver 0.0.0.0:8801 > /dev/null &
+# nohup python manage.py runserver 0.0.0.0:8801 > /dev/null &
+nohup uwsgi --http :8801 -t 120 --module lcm.wsgi --master --processes 4 &
while [ ! -f $logDir/runtime_lcm.log ]; do
sleep 1
# See the License for the specific language governing permissions and
# limitations under the License.
-ps auxww | grep 'manage.py runserver 0.0.0.0:8801' | awk '{print $2}' | xargs kill -9
+# ps auxww | grep 'manage.py runserver 0.0.0.0:8801' | awk '{print $2}' | xargs kill -9
+ps auxww |grep 'uwsgi --http :8801 --module lcm.wsgi --master' |awk '{print $2}' |xargs kill -9
\ No newline at end of file