Releases: booleworks/kjobs
Releases · booleworks/kjobs
v1.1.0
Minor Breaking Changes
SynchronousResourceConfigBuilder.maxWaitingTimechanged its type fromDurationto a function fromJobandINPUTtoDuration(i.e.(Job, INPUT) -> Duration). So the waiting time can now be configured depending on the job and/or input. If you previously assigned tomaxWaitingTimesome valuex, just change it to{_, _ -> x}.
Changed
JobConfigBuilder.timeoutComputationis now explicitly allowed to return non-positive values. When a job is selected and has a negative timeout (e.g. if the waiting time for the job was too long) the computation is not started and the job is set to statusCANCELLED.