we do not set read timeout on those requests.
the value should come from the VaultRuntimeConfig.readTimeout
as a result the value is always Duration timeout = Duration.ofSeconds(30); from VaultRequest.Builder.
as a side not, the defaults changed as well. In VaultRuntimeConfig the default is 5 secs, whereas in VaultRequest, the default is 30 secs. Users will incur a change of behavior even if the did not set a read timeout.
In
VaultSecretsKV1RequestFactory
, requests are created such as:we do not set read timeout on those requests. the value should come from the
VaultRuntimeConfig.readTimeout
as a result the value is alwaysDuration timeout = Duration.ofSeconds(30);
fromVaultRequest.Builder
. as a side not, the defaults changed as well. InVaultRuntimeConfig
the default is5 secs
, whereas inVaultRequest
, the default is30 secs
. Users will incur a change of behavior even if the did not set a read timeout.