passerelle/debian/uwsgi.ini

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

68 lines
1.9 KiB
INI
Raw Permalink Normal View History

[uwsgi]
auto-procname = true
procname-prefix-spaced = passerelle
strict = true
2020-06-08 14:13:04 +02:00
plugin = python3
single-interpreter = true
module = passerelle.wsgi:application
need-app = true
http-socket = /run/passerelle/passerelle.sock
chmod-socket = 666
vacuum = true
spooler-processes = 3
spooler-python-import = hobo.provisionning.spooler
spooler-python-import = passerelle.utils.spooler
spooler-max-tasks = 20
# every five minutes
2023-10-30 16:27:37 +01:00
unique-cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants every5min
2022-04-06 10:46:29 +02:00
unique-cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants availability
unique-cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants jobs
# hourly
2022-04-06 10:46:29 +02:00
unique-cron = 1 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command clearsessions --all-tenants
unique-cron = 17 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants hourly
# daily
2022-04-06 10:46:29 +02:00
unique-cron = 25 1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants daily
# weekly
2022-04-06 10:46:29 +02:00
unique-cron = 47 2 -1 -1 7 /usr/bin/passerelle-manage tenant_command cron --all-tenants weekly
# monthly
2022-04-06 10:46:29 +02:00
unique-cron = 52 3 1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants monthly
master = true
enable-threads = true
harakiri = 120
processes = 500
plugin = cheaper_busyness
cheaper-algo = busyness
cheaper = 5
cheaper-initial = 10
2022-07-21 09:57:12 +02:00
cheaper-overload = 20
cheaper-step = 2
cheaper-busyness-multiplier = 10
cheaper-busyness-min = 20
cheaper-busyness-max = 70
cheaper-busyness-backlog-alert = 16
cheaper-busyness-backlog-step = 2
2022-07-21 09:57:12 +02:00
listen = 1024
max-requests = 500
max-worker-lifetime = 7200
buffer-size = 32768
py-tracebacker = /run/passerelle/py-tracebacker.sock.
stats = /run/passerelle/stats.sock
memory-report = true
ignore-sigpipe = true
disable-write-exception = true
if-file = /etc/passerelle/uwsgi-local.ini
include = /etc/passerelle/uwsgi-local.ini
endif =