This section describes how advanced configuration options can be used in Java transforms.
Maximum build duration
It may be desirable to limit the run duration of a job to ensure data freshness or to limit costs. For example, if a job is interacting with an external service and becomes unresponsive, it is useful to have a limit on its run duration, as it may not complete.
In Code Repositories, you can limit job duration by using the MaxAllowedDuration and Compute decorators, as shown below: