Skip to content

close_all_sessions() #963

Open
Open
@aeddins-ibm

Description

@aeddins-ibm

What is the expected feature or enhancement?
A method that closes any currently open sessions.

For example, say I am developing code that involves submitting jobs in a session. I run the code and it starts submitting jobs. Then I notice a bug in my code, so I hit ctrl+C to interrupt, fix the bug, then restart. If I understand correctly, a new session is created, but the old session is still running and I cannot close it since I do not have access to it. Instead, I have to wait for some timeout condition to automatically kill the old session before my new session can start running jobs (is this correct?).

If the above is an accurate description of the situation, then if I could call service.close_all_sessions(), I would not have to wait for this timeout condition. More generally, it would also be nice to have access to something like service.open_sessions() so I can see a list of what sessions I have open (and potentially close unneeded ones).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: mediumMedium Priority issue (must have for current release)server actionNeed actions from the server side

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions