You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in our project, we need to use lua script, but the default timeoutmillis is 0, which means to block forever;
Question : how to set blockingSocketTimeoutMillis in spring-data-redis?
The text was updated successfully, but these errors were encountered:
There's no mechanism to alter DefaultJedisClientConfig (implementing JedisClientConfig).
JedisClientConfig carries a lot of per-connection details such as the database or authentication credentials that conflict with Spring Data Redis' RedisConfiguration types that define authentication and database details.
Out of curiosity, why don't you use the Lettuce driver that has a configuration of TimeoutSource to supply timeouts on a per-command basis where you could define a timeout specific to your Lua command?
There's no mechanism to alter DefaultJedisClientConfig (implementing JedisClientConfig).
JedisClientConfig carries a lot of per-connection details such as the database or authentication credentials that conflict with Spring Data Redis' RedisConfiguration types that define authentication and database details.
Out of curiosity, why don't you use the Lettuce driver that has a configuration of TimeoutSource to supply timeouts on a per-command basis where you could define a timeout specific to your Lua command?
since the issue (redis/lettuce#2082) of lettuce has not been well solved, to be on the safe side, we choose jedis
Mechanism to customize JedisClientConfig is also required to provide custom credentialsProvider required for implementing cloud identity based authentication.
in our project, we need to use lua script, but the default timeoutmillis is 0, which means to block forever;
Question : how to set blockingSocketTimeoutMillis in spring-data-redis?
The text was updated successfully, but these errors were encountered: