kue icon indicating copy to clipboard operation
kue copied to clipboard

How to close connection for a job type

Open samuelgoldenbaum opened this issue 6 years ago • 0 comments

From what I see, Kue is creating new Redis connections for every job type. We have a scenario where we have queues for each user so 200 active users with Redis connections can become an issue - especially as I don't see a way to stop processing a job type, thereby closing its underlying Redis connection.

  1. Can the Redis connection be shared - from what I see, Kue cannot currently do this?
  2. How can a let Kue know that it should no longer process a job type so they underlying connection to Redis is closed?

samuelgoldenbaum avatar Feb 23 '19 14:02 samuelgoldenbaum