Function aws_smithy_runtime::client::defaults::default_stalled_stream_protection_config_plugin
source · pub fn default_stalled_stream_protection_config_plugin() -> Option<SharedRuntimePlugin>
👎Deprecated since 1.2.0: This function wasn’t intended to be public, and didn’t take the behavior major version as an argument, so it couldn’t be evolved over time.
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.