Skip to content

adding HTTP_TIMEOUT and MAX_RETRY

Compare
Choose a tag to compare
@gagoar gagoar released this 26 Jun 05:47
· 198 commits to master since this release

This new version provides access to 2 useful configuration options:

  • AWS.config.httpOptions.timout: Returns the maximum amount of retries to perform for a service request. By default this value is calculated by the specific service object that the request is being made to. (more info )

  • AWS.config.maxRetries: Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000) (more info