Skip to content

s3Client never times out #10

@toffer

Description

@toffer

If there's a loss of network connectivity while dogestry is transferring files to/from S3, then dogestry will just hang.

EDIT:

(My proposed solution below is wrong. I need to recognize when the transfer has stopped, not limit the amount of time that the transfer must complete in.)

The solution is to set the ConnectTimeout and ReadTimeout when creating the s3Client. Right now, both timeouts use the default value of 0, which is in effect, no timeout value at all.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions