Method to cancel builds running over certain time duration

Is there a way to configure a transform to cancel if it takes over a certain amount of time?

I see that there is something similar with data connection, but I was wondering if there is an equivalent for transforms: https://www.palantir.com/docs/foundry/transforms-java/advanced-configuration/

1 Like

Checkout allowed_run_duration
in the @configure decorator:

https://www.palantir.com/docs/foundry/transforms-python/transforms-python-api/#configure

1 Like