rhubarb icon indicating copy to clipboard operation
rhubarb copied to clipboard

Add tcp_keepalive=True and set read_timeout=3600 for video processing

Open dennisheitmann opened this issue 6 months ago • 0 comments

Description of changes:

Add tcp_keepalive=True and read_timeout=3600 to prevent timeouts when using NOVA models with larger videos.

The timeout value of 3600s is recommended by: https://docs.aws.amazon.com/nova/latest/userguide/using-invoke-api.html

The timeout period for inference calls to Amazon Nova is 60 minutes. By default, AWS SDK clients timeout after 1 minute. We recommend that you increase the read timeout period of your AWS SDK client to at least 60 minutes. For example, in the AWS Python botocore SDK, change the value of the read_timeoutfield in botocore.config to at least 3600.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

dennisheitmann avatar Jun 17 '25 14:06 dennisheitmann