Expected value for javascript bulk helper configuration value

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch version 2.13
OpensearchJS Client NPM version: “@opensearch-project/opensearch”: “^2.6.0”

Describe the issue:
Opensearch Javascript Client documentation provides configuration values for the client’s bulk helper method, however this doesn’t cover all the available options. A config option for both client.bulk and client.helpers.bulk is timeout: string. I’ve attempted using string values like 5s, 5m but none of these values seem respected by the client. The client will throw a timeout exception at 2 minutes regardless of the configuration.

What is the expected format for this timeout configuration?
Thanks !

Configuration:

Relevant Logs or Screenshots:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.