Timeout (faulttolerance) Configuration

Type: io.helidon.faulttolerance.Timeout

This is a standalone configuration type, prefix from configuration root: fault-tolerance.timeouts

Configuration options

Optional configuration options
keytypedefault valuedescription
current-thread

boolean

false

Flag to indicate that code must be executed in current thread instead of in an executor’s thread. This flag is false by default.

@return  whether to execute on current thread (`true`), or in an executor service (`false`})
timeout

Duration

PT10S

Duration to wait before timing out. Defaults to 10 seconds.

@return timeout