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
One can set connect timeout for a simple RedisClient. It's not the case with RedisClientPool. The latter extends RedisClientPoolLike which creates RedisClientActors with following way: def makeRedisClientActor(server: RedisServer, active: Ref[Boolean]): ActorRef = { system.actorOf(RedisClientActor.props(new InetSocketAddress(server.host, server.port), getConnectOperations(server), onConnectStatus(server, active), redisDispatcher.name) .withDispatcher(redisDispatcher.name), name + '-' + Redis.tempName() ) }
So, there is no way to provide a connection timeout in the RedisClientActor.props method.
The text was updated successfully, but these errors were encountered:
One can set connect timeout for a simple RedisClient. It's not the case with RedisClientPool. The latter extends RedisClientPoolLike which creates RedisClientActors with following way:
def makeRedisClientActor(server: RedisServer, active: Ref[Boolean]): ActorRef = { system.actorOf(RedisClientActor.props(new InetSocketAddress(server.host, server.port), getConnectOperations(server), onConnectStatus(server, active), redisDispatcher.name) .withDispatcher(redisDispatcher.name), name + '-' + Redis.tempName() ) }
So, there is no way to provide a connection timeout in the
RedisClientActor.props
method.The text was updated successfully, but these errors were encountered: