queue icon indicating copy to clipboard operation
queue copied to clipboard

Unnecessary session creation for connection that is not for queue

Open arduanov opened this issue 1 year ago • 0 comments

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.

arduanov avatar Nov 20 '23 18:11 arduanov