Skip to content

Add configurable timeout to SCPClient #120

@TAlonglong

Description

@TAlonglong

Default timeout to the SCPClient channel when using put is 10 seconds. The default is hardcoded in the SCPClient code https://github.com/jbardin/scp.py/blob/8d8ffd018f7f2f34dc99b413cf3f817705cc9233/scp.py#L117

This should be possible to configure in the move_it_server configure section and pass into the SCPClient

I suggest to add a scpclient_timeout_seconds as an option in the config file.

So add this in the SCPMover and handle accordingly.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions