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

Add control of session state #238

Open
alex268 opened this issue Feb 27, 2024 · 0 comments
Open

Add control of session state #238

alex268 opened this issue Feb 27, 2024 · 0 comments

Comments

@alex268
Copy link
Member

alex268 commented Feb 27, 2024

Current implementation of sessions and the session pool doesn't include the control of the session state.
And we often have next problems:

  1. Usage of session after closing
  2. Parallel usage of one session
  3. Deleting session by client error or canceling

We can resolve these problem by adding the control of current session state - idle, active, executing, canceled and etc. And every action on the session can check this state and returns an error if client uses session in wrong way

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

No branches or pull requests

1 participant