Skip to content

Releases: booleworks/kjobs

v1.1.0

10 Feb 09:27
b120482

Choose a tag to compare

Minor Breaking Changes

  • SynchronousResourceConfigBuilder.maxWaitingTime changed its type from Duration to a function from Job and INPUT to Duration (i.e. (Job, INPUT) -> Duration). So the waiting time can now be configured depending on the job and/or input. If you previously assigned to maxWaitingTime some value x, just change it to {_, _ -> x}.

Changed

  • JobConfigBuilder.timeoutComputation is 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 status CANCELLED.