mercurial/web/templates/hgweb.ini.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 03 Aug 2020 12:24:13 -0500
changeset 129 7ced28b4207c
parent 56 59e94b4a91a2
child 195 da34c8d7511d
permissions -rw-r--r--
Added worker restats for uwsgi to reduce memory runaway.

[uwsgi]
processes = 2
max-requests = 10240
max-requests-delta = 1024
max-worker-lifetime = 604800
socket = unix:/run/uwsgi/app/hgweb/socket
chdir = {{mercurial_uwsgi_root}}
wsgi-file = hgweb.wsgi
uid = www-data
gid = www-data
plugins = python3