admin管理员组文章数量:1022752
In the Java sdk, there is the apiCallTimeout: .Builder.html#apiCallTimeout(java.time.Duration)
Described as:
Configure the amount of time to allow the client to complete the execution of an API call. This timeout covers the entire client execution except for marshalling. This includes request handler execution, all HTTP requests including retries, unmarshalling, etc. This value should always be positive, if present.
When looking at this javascript sdkv3 upgrading guide: .md
It mentions timeouts as:
connectTimeout
v2: Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. v3: connectionTimeout is available in NodeHttpHandler options.
timeout
v2: The number of milliseconds a request can take before automatically being terminated. v3: socketTimeout is available in NodeHttpHandler options.
But the docs: /
Seem to be on an individual connection level, and not a total timeout including all retries. So is it possible to set a timeout on the api calls similar to how Java can with apiCallTimeout?
In the Java sdk, there is the apiCallTimeout: .Builder.html#apiCallTimeout(java.time.Duration)
Described as:
Configure the amount of time to allow the client to complete the execution of an API call. This timeout covers the entire client execution except for marshalling. This includes request handler execution, all HTTP requests including retries, unmarshalling, etc. This value should always be positive, if present.
When looking at this javascript sdkv3 upgrading guide: .md
It mentions timeouts as:
connectTimeout
v2: Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. v3: connectionTimeout is available in NodeHttpHandler options.
timeout
v2: The number of milliseconds a request can take before automatically being terminated. v3: socketTimeout is available in NodeHttpHandler options.
But the docs: /
Seem to be on an individual connection level, and not a total timeout including all retries. So is it possible to set a timeout on the api calls similar to how Java can with apiCallTimeout?
本文标签: amazon web servicesIs there an equivalent apiCallTimeout in the Javascript sdkv3Stack Overflow
版权声明:本文标题:amazon web services - Is there an equivalent apiCallTimeout in the Javascript sdkv3? - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745560313a2156124.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论