From ee119dacfb8fdd72c6121bce93c68f1a1b8c4357 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Jan 2025 08:38:33 +0000 Subject: [PATCH] chore: lower io class for sync_images_s3 on ovh3 --- confs/ovh3/systemd/system/sync_images_s3@.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confs/ovh3/systemd/system/sync_images_s3@.service b/confs/ovh3/systemd/system/sync_images_s3@.service index 9044f8720..22bed9ee0 100644 --- a/confs/ovh3/systemd/system/sync_images_s3@.service +++ b/confs/ovh3/systemd/system/sync_images_s3@.service @@ -8,6 +8,8 @@ OnFailure=email-failures@sync_images_s3__%i.service Type=oneshot User=off Group=off +IOSchedulingClass=best-effort +IOSchedulingPriority=7 # Warning: this script doesn't work currently with non-off product type ExecStart=/home/off/.cargo/bin/uv run /opt/openfoodfacts-infrastructure/scripts/ovh3/sync-s3-images/sync_s3_images.py /rpool/off/images/products KillMode=process