From e6cbe559dc9aaf98b5ce44a999f6ab44783b0ea2 Mon Sep 17 00:00:00 2001 From: JVT038 <47184046+JVT038@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:43:55 +0100 Subject: [PATCH] Set priority so that migrations run before jobs --- settings/supervisor/database-migrate.conf | 1 + settings/supervisor/job-processing.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/settings/supervisor/database-migrate.conf b/settings/supervisor/database-migrate.conf index 0498bfa0..a35ac055 100644 --- a/settings/supervisor/database-migrate.conf +++ b/settings/supervisor/database-migrate.conf @@ -4,6 +4,7 @@ numprocs=1 user=application autostart=true autorestart=unexpected +priority=10 exitcodes=0 startsecs=0 startretries=5 diff --git a/settings/supervisor/job-processing.conf b/settings/supervisor/job-processing.conf index 6b0eaae2..d62ef0f0 100644 --- a/settings/supervisor/job-processing.conf +++ b/settings/supervisor/job-processing.conf @@ -4,6 +4,7 @@ numprocs=1 user=application autostart=true autorestart=true +priority=20 startsecs=1 startretries=10 stdout_logfile=/dev/stdout