inactivityTimeout
Return
configured inactivity timeout.
See also
open fun inactivityTimeout(@Nullable inactivityTimeout: @Nullable Duration): ServiceDefinition.Configurator
This timer guards against stalled invocations. Once it expires, Restate triggers a graceful termination by asking the invocation to suspend (which preserves intermediate progress).
The abortTimeout is used to abort the invocation, in case it doesn't react to the request to suspend.
This overrides the default inactivity timeout configured in the restate-server for all invocations to this service.
NOTE: You can set this field only if you register this service against restate-server >= 1.4, otherwise the service discovery will fail.
Return
this