sassoftware / vscode-sas-extension

This SAS Extension for Visual Studio Code provides support for the SAS language, including features such as SAS syntax highlighting, code completion, hover help, code folding, outline, SAS code snippets and run SAS code.
https://sassoftware.github.io/vscode-sas-extension/
Apache License 2.0
117 stars 47 forks source link

Extremely long analytic jobs, and quiescent use, time out SSH connections #1156

Open chunky opened 1 month ago

chunky commented 1 month ago

Describe the bug A user reached out to me asking about server timeouts. She will be doing analytic work, then leave her session open while she goes to a meeting or whatever, and when she comes back the connection will have timed out.

Steps to reproduce Configure SSH session, open connection, walk away until you're past whatever your SSH/TCP idle timeout is.

Expected behavior I would like this disconnect to not happen.

Environment (please complete the following information): Client OS: Windows Extension version: Latest at time of writing SAS version: 9.4 Linux

Additional context Reading the documentation for ssh2: https://github.com/mscdex/ssh2 , there are two parameters that can be added to the ConnectConfig [around line75, ./client/src/connection/ssh/index.ts ]: keepaliveCountMax and keepaliveInterval.

I suggest: