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

Unnecessary session creation for connection that is not for queue #220

Open
arduanov opened this issue Nov 20, 2023 · 0 comments
Open

Unnecessary session creation for connection that is not for queue #220

arduanov opened this issue Nov 20, 2023 · 0 comments

Comments

@arduanov
Copy link

The number of requests has increased significantly аfter installation of queue module.
I use tarantool for data cache and when the client disconnects, the queue creates a new session and immediately delete it. It is not necessary.

I researched this and got that: the queue have event connection.on_disconnect. It calls identify, which select session by connection id. It insert id in queue_session_ids and return session, which are deleted immediately on disconnect.

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