You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using "@smithy/node-http-handler" version 4.0.2.
When using Amazon SQS send a message, I encountered the following warning:
WARN @smithy/node-http-handler:WARN - socket usage at capacity=50 and 788 additional requests are enqueued. See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am using "@smithy/node-http-handler" version 4.0.2.
When using Amazon SQS send a message, I encountered the following warning:
This warning is logged at the following line:
smithy-typescript/packages/node-http-handler/src/node-http-handler.ts
Lines 97 to 101 in 9b26765
I modified the code and tested it, but setting
socketAcquisitionWarningTimeout
option did not seem to have any effect.It appears that this issue is caused by
socketAcquisitionWarningTimeout
not being handled in the configuration setup at:smithy-typescript/packages/node-http-handler/src/node-http-handler.ts
Line 202 in 9b26765
It seemed to be caused by not handling “socketAcquisitionWarningTimeout” in the following sections.
smithy-typescript/packages/node-http-handler/src/node-http-handler.ts
Lines 125 to 146 in 9b26765
I have confirmed that the issue can be resolved by making the following modification:
The “socketAcquisitionWarningTimeout” option now works correctly in my environment with this fix.
I am currently working on a pull request to address this issue.
The text was updated successfully, but these errors were encountered: