Skip to content

add max-duration to the DAG options only when max-duration is in config file

Cort Posnansky requested to merge master-max-duration-option into master

The max-duration option can cause issues with DAG generation when it is not supplied in the config file. The DAG generator interprets the next option given as being the input for max-duration.

This change moves the max-duration option out of the standard list of options and into an "if" statement, so that it is only enabled when max-duration is supplied in the config.

Merge request reports