[uwsgi] strict = true single-interpreter = true http = :8080 chdir = /var/app wsgi-file = application.py module = application:app master = true uid = worker gid = worker harakiri = 90 http-keepalive = 1 add-header = Connection:Keep-Alive buffer-size = 12288 disable-logging = true log-4xx = true log-5xx = true log-ioerror = true log-x-forwarded-for = true cache2 = name=uwsgi_cache,items=10 enable-threads = 1 lazy-apps = 1 skip-atexit = 1 import = ddtrace.bootstrap.sitecustomize ## https://uwsgi-docs.readthedocs.io/en/latest/Cheaper.html workers = $(UWSGI_WORKERS) cheaper = $(UWSGI_CHEAPER) cheaper-algo = $(UWSGI_CHEAPER_ALGO) cheaper-initial = $(UWSGI_CHEAPER_INITIAL) cheaper-step = $(UWSGI_CHEAPER_STEP) cheaper-overload = $(UWSGI_CHEAPER_OVERLOAD) cheaper-rss-limit-soft = $(UWSGI_CHEAPER_RSS_LIMIT_SOFT) memory-report = true