defaultTimeout

@ConfigurationValue(path = "botcommands.event.manager.defaultTimeout", type = "java.time.Duration", defaultValue = "null")
abstract val defaultTimeout: Duration?(source)

The time applied to all event listeners by default before their coroutine is cancelled.

A null, non-positive or non-finite value equals to no timeout.

Default: null (no timeout)

Spring property: botcommands.event.manager.defaultTimeout

See also