[390136] Armada api uwsgi options
Adds the lazy-apps switch to remove some preloading behavior Removes some undesired header logging. Change-Id: I5177833e3184e9ab9d6469a2f5bcd8ee673870de
This commit is contained in:
parent
b9e96b0f47
commit
658593a7a8
@ -31,9 +31,6 @@ class AuthMiddleware(object):
|
||||
def process_request(self, req, resp):
|
||||
ctx = req.context
|
||||
|
||||
for k, v in req.headers.items():
|
||||
self.logger.debug("Request with header %s: %s" % (k, v))
|
||||
|
||||
auth_status = req.get_header('X-SERVICE-IDENTITY-STATUS')
|
||||
service = True
|
||||
|
||||
|
@ -32,10 +32,14 @@ ARMADA_API_THREADS=${ARMADA_API_THREADS:-"1"}
|
||||
# server during import in `armada.api.server`.
|
||||
if [ "$1" = 'server' ]; then
|
||||
exec uwsgi \
|
||||
-b 32768 \
|
||||
--die-on-term \
|
||||
--http :${ARMADA_API_PORT} \
|
||||
--http-timeout $ARMADA_API_TIMEOUT \
|
||||
--enable-threads \
|
||||
-L \
|
||||
--lazy-apps \
|
||||
--master \
|
||||
--paste config:/etc/armada/api-paste.ini \
|
||||
--pyargv "--config-file /etc/armada/armada.conf" \
|
||||
--threads $ARMADA_API_THREADS \
|
||||
|
Loading…
x
Reference in New Issue
Block a user