[uwsgi] auto-procname = true procname-prefix-spaced = chrono strict = true plugin = python3 single-interpreter = true module = chrono.wsgi:application need-app = true http-socket = /run/chrono/chrono.sock chmod-socket = 666 vacuum = true spooler-processes = 3 spooler-python-import = chrono.utils.spooler spooler-python-import = hobo.provisionning.spooler spooler-max-tasks = 20 # every five minutes cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command cancel_events --all-tenants -v0 cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command send_email_notifications --all-tenants -v0 cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command update_event_recurrences --all-tenants -v0 cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command clean_leases --all-tenants -v0 # every fifteen minutes cron2 = minute=-15,unique=1 /usr/bin/chrono-manage tenant_command sync-ants-hub --all-tenants # hourly cron2 = minute=3,unique=1 /usr/bin/chrono-manage tenant_command clearsessions --all-tenants cron2 = minute=13,unique=1 /usr/bin/chrono-manage tenant_command send_booking_reminders --all-tenants cron2 = minute=23,unique=1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions --all-tenants # daily cron2 = minute=33,hour=4,unique=1 /usr/bin/chrono-manage tenant_command anonymize_bookings --all-tenants # monthly cron2 = minute=43,hour=1,day=1,unique=1 /usr/bin/chrono-manage tenant_command update_shared_custody_holiday_rules --all-tenants # yearly (1th january) cron2 = minute=53,hour=2,day=1,month=1,unique=1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions_from_settings --all-tenants -v0 master = true enable-threads = true harakiri = 120 processes = 500 plugin = cheaper_busyness cheaper-algo = busyness cheaper = 5 cheaper-initial = 10 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 listen = 1024 max-requests = 500 max-worker-lifetime = 7200 buffer-size = 32768 py-tracebacker = /run/chrono/py-tracebacker.sock. stats = /run/chrono/stats.sock memory-report = true ignore-sigpipe = true if-file = /etc/chrono/uwsgi-local.ini include = /etc/chrono/uwsgi-local.ini endif =