taskTimeout

val taskTimeout: Duration? = null

Maximum wall-clock time a single task execution may run before it is automatically cancelled and reported as TaskState.TimedOut.

Set to null (the default) to allow tasks to run indefinitely. Recommended value for network tasks: Duration.seconds(30).