taskiq-redis icon indicating copy to clipboard operation
taskiq-redis copied to clipboard

The version of redis client dependency

Open lryan599 opened this issue 7 months ago • 1 comments

I observed that taskiq-redis requires a redis client with version greater than 5 or more, is it possible to support redis clients with version 4.x?

In fact, for some reason I'm currently only able to connect to redis using a 4.x client. At first I was getting dead loop with a 4.5 client, but after setting the max_connection_pool_size parameter it worked fine. Is it possible to set the max_connection_pool_size parameter to the default value of 50 instead of None?

lryan599 avatar May 06 '25 03:05 lryan599

I'm not sure that it's good to use such an outdated version of the library. Right now we don't have plans to support redis 4.x and recently upgraded our underlying redis library to major version 6.

Also, regarding the second question. You should be able to provide connection pool size to the broker so even with no defaults it should work fine.

s3rius avatar Jul 25 '25 07:07 s3rius