-
Notifications
You must be signed in to change notification settings - Fork 3
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
Client wait for connection #8
Comments
Hello! Something like teecp --wait ? Or --wait-connection? |
|
@reinaldorauch , do you think it will be intuitive to have something like I am not sure if this will be a great CLI experience |
I was about to ask if would make sense defining the timeout. I totally would use that! Also it raises the need for a interval switch I guess, like --retry-interval Also, I think it wouldn't be difficult to parse the time unit there so the use could set --wait-connection=1s or --wait-connection=250ms like you said |
Agreed. |
Nice! Just to summarize the design and the requirements:
|
Hey, opened a PR with the implementation! |
Solved by #9 |
Thanks @reinaldorauch ❤️ |
The default behavior is (and should continue to be) for the client to fail immediately when there is no server in the port.
It would be good that, given a CLI flag, it would wait until a server is available in such port. It should retry at a regular interval to connect.
The text was updated successfully, but these errors were encountered: