deckhand/deckhand/control
Bryan Strassner 4d642f849a [fix] Add uwsgi entrypoint options
Changes the entrypoint.sh options for uwsgi to include:
 -b 32768 : for larger header/url handling
 --die-on-term : for more 'normal'  handling of SIGTERM
 --lazy-apps : to delay init of python until after forking workers
 --master : to provide a master process for handling request dispatch

The purpose of these changes is intended to avoid some crash behavior
that is occuring when the process being forked has an open db connection.
The --lazy-apps option should delay initialization. The other options are
recommended by uwsgi documentation, specicially the --master option.
The larger buffer size is not strictly recommended, but matters when large
headers are included.

The die-on-term option should provide better behavior in the container
environment.

Related-Change: I60adeffff5461fdda957124232bc5a606baae413
Change-Id: I70510246576a8fb6aa216e7c9c7e97c1c9ab791c
2018-04-03 09:19:28 -04:00
..
views Document replacement: Update Document unique constraint 2018-03-28 17:08:03 -04:00
__init__.py DECKHAND-2: Design core Deckhand API framework 2017-06-27 19:26:51 +01:00
api.py [fix] Add uwsgi entrypoint options 2018-04-03 09:19:28 -04:00
base.py Add validation for empty documents inside multi-document payload 2018-03-31 22:36:55 -04:00
buckets.py Add validation for empty documents inside multi-document payload 2018-03-31 22:36:55 -04:00
common.py Implement sort filter 2017-11-29 20:53:21 +00:00
health.py Allow anonymous access for health and versions 2017-11-21 16:37:34 -06:00
middleware.py Header enforcement on Content-Length 0 2017-11-29 12:38:27 -06:00
revision_diffing.py Make middleware enforce and validate content-type 2017-10-23 17:02:01 +01:00
revision_documents.py Add functional tests for document replacement 2018-03-28 17:09:40 -04:00
revision_tags.py Add validation for empty documents inside multi-document payload 2018-03-31 22:36:55 -04:00
revisions.py Document replacement: Update Document unique constraint 2018-03-28 17:08:03 -04:00
rollback.py Make middleware enforce and validate content-type 2017-10-23 17:02:01 +01:00
validations.py Add validation for empty documents inside multi-document payload 2018-03-31 22:36:55 -04:00
versions.py Allow anonymous access for health and versions 2017-11-21 16:37:34 -06:00