Function aws_smithy_runtime::client::defaults::default_stalled_stream_protection_config_plugin
source · pub fn default_stalled_stream_protection_config_plugin(
) -> Option<SharedRuntimePlugin>
Available on crate feature
client
only.Expand description
Runtime plugin that sets the default stalled stream protection config.
By default, when throughput falls below 1/Bs for more than 5 seconds, the stream is cancelled.