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

Keep Connection Alive in Viya #1285

Open
engmtcdrm opened this issue Nov 22, 2024 · 1 comment
Open

Keep Connection Alive in Viya #1285

engmtcdrm opened this issue Nov 22, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@engmtcdrm
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The problem is that if you step away from your computer your SAS session can die due to settings in Viya. This can be annoying because then you have to reconnect and rerun code you may have already ran.

Describe the solution you'd like
The solution would either be an option users can set to keep session alive. Maybe it is active by default. I think all that would need to happen is either pinging compute/sessions/{sessionId} using HEAD request or doing the same HEAD request on the job in the session with compute/sessions/{sessionId}/jobs/{jobId}. I'm not 100% on if these endpoints will be sufficient for the session to remain open, but given you're interacting with the session or job would make me think the timer in Viya would reset. It would be similar to resubmitting code to keep the session alive.

Describe alternatives you've considered
You could write a piece of code that ran for a long time while you stepped away, but that is not ideal.

Additional context

Environment
SAS version: Viya 3.5/4

@scnwwu scnwwu added the feature request New feature or request label Nov 25, 2024
@marclenniger
Copy link

Thank you very much for raising this problem!

I experience the same problem on Viya 3.5. And it is the last unsolved issue that is holding us back from rolling out the VScode-Extension for our whole department.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants