Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable timeout to SCPClient #120

Open
TAlonglong opened this issue Jun 14, 2022 · 0 comments · May be fixed by #121
Open

Add configurable timeout to SCPClient #120

TAlonglong opened this issue Jun 14, 2022 · 0 comments · May be fixed by #121
Assignees

Comments

@TAlonglong
Copy link
Collaborator

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.

@TAlonglong TAlonglong self-assigned this Jun 14, 2022
@TAlonglong TAlonglong linked a pull request Jun 17, 2022 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant