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

Graceful Shutdown #25

Open
tnewman opened this issue Dec 31, 2022 · 2 comments
Open

Graceful Shutdown #25

tnewman opened this issue Dec 31, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@tnewman
Copy link
Owner

tnewman commented Dec 31, 2022

On SIGINT:

  1. Stop accepting new connections
  2. Allow existing connections to finish their work

Graceful shutdown is very important to make sure clients are not interrupted during scale-in, maintenance, etc.

Since SFTP is connection oriented, there will need to be a limit to how long to wait.

@tnewman tnewman added enhancement New feature or request blocked This request cannot be worked on until external dependencies are resolved labels Jan 1, 2023
@tnewman
Copy link
Owner Author

tnewman commented Jan 1, 2023

I am trying to have this implemented in the upstream SSH server before adding it directly to Dray: Eugeny/russh#104

@tnewman
Copy link
Owner Author

tnewman commented Apr 1, 2023

Instructions were provided by the maintainer of russh on how to make this work.

@tnewman tnewman removed the blocked This request cannot be worked on until external dependencies are resolved label Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant