fix(crontab):increased cronNotAfter for lms jobs
This commit is contained in:
parent
8e1f94bb7c
commit
0331010ad7
@ -402,7 +402,7 @@ determineCrontab = execWriterT $ do
|
|||||||
, cronSecond = cronMatchOne 27
|
, cronSecond = cronMatchOne 27
|
||||||
}
|
}
|
||||||
, cronRateLimit = nominalDay / 2 -- minimal time between two executions, before the second job is skipped
|
, cronRateLimit = nominalDay / 2 -- minimal time between two executions, before the second job is skipped
|
||||||
, cronNotAfter = Left nominalDay -- maximal delay of an execution, before it is skipped entirely
|
, cronNotAfter = Left $ 1.5 * nominalDay -- maximal delay of an execution, before it is skipped entirely
|
||||||
}
|
}
|
||||||
|
|
||||||
whenIsJust appQualificationCheckHour $ \hour -> tell $ HashMap.singleton
|
whenIsJust appQualificationCheckHour $ \hour -> tell $ HashMap.singleton
|
||||||
@ -415,7 +415,7 @@ determineCrontab = execWriterT $ do
|
|||||||
, cronSecond = cronMatchOne 27
|
, cronSecond = cronMatchOne 27
|
||||||
}
|
}
|
||||||
, cronRateLimit = nominalDay / 2 -- minimal time between two executions, before the second job is skipped
|
, cronRateLimit = nominalDay / 2 -- minimal time between two executions, before the second job is skipped
|
||||||
, cronNotAfter = Left nominalDay -- maximal delay of an execution, before it is skipped entirely
|
, cronNotAfter = Left $ 1.5 * nominalDay -- maximal delay of an execution, before it is skipped entirely
|
||||||
}
|
}
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|||||||
Reference in New Issue
Block a user