From 9c047ae749197250fc040777fea4930bad79b902 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 22 Nov 2023 19:53:58 +0000 Subject: [PATCH] Set cronRateLimit to 10 minutes for QualificationCheckHour jobs --- src/Jobs/Crontab.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Jobs/Crontab.hs b/src/Jobs/Crontab.hs index 006a1ae25..4e517ad52 100644 --- a/src/Jobs/Crontab.hs +++ b/src/Jobs/Crontab.hs @@ -1,4 +1,4 @@ --- SPDX-FileCopyrightText: 2022 Gregor Kleen ,Sarah Vaupel ,Sarah Vaupel ,Steffen Jost +-- SPDX-FileCopyrightText: 2022-2023 Sarah Vaupel , David Mosbach , Gregor Kleen ,Sarah Vaupel ,Sarah Vaupel ,Steffen Jost -- -- SPDX-License-Identifier: AGPL-3.0-or-later @@ -402,7 +402,7 @@ determineCrontab = execWriterT $ do , cronMinute = cronMatchOne 3 , cronSecond = cronMatchOne 27 } - , cronRateLimit = 0 -- minimal time between two executions, before the second job is skipped + , cronRateLimit = 600 -- minimal time between two executions, before the second job is skipped , cronNotAfter = Right CronNotScheduled -- maximal delay of an execution, before it is skipped entirely } @@ -415,7 +415,7 @@ determineCrontab = execWriterT $ do , cronMinute = cronMatchOne 33 , cronSecond = cronMatchOne 27 } - , cronRateLimit = 0 -- minimal time between two executions, before the second job is skipped + , cronRateLimit = 600 -- minimal time between two executions, before the second job is skipped , cronNotAfter = Right CronNotScheduled -- maximal delay of an execution, before it is skipped entirely }