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
Is there a way to pass ActorSystem instance into Redis()?
In our project we access Redis from various actors, so we naturally have ActorSystem by the time we need Redis connection. Also, we use about 30 different Redis connections and (I think that) 30 ActorSystem instances just for Redis connectivity would be an overkill, unless absolutely necessary.
The text was updated successfully, but these errors were encountered:
To a Redis instance no. However you can create a Client, BlockingClient and SubscriberClient with an explicit ActorSystem.
I realize it might be useful to be able to pass the ActorSystem to the Redis instance as well. I will probably implement this feature and make it optional in the next minor release.
Is there a way to pass
ActorSystem
instance intoRedis()
?In our project we access Redis from various actors, so we naturally have
ActorSystem
by the time we need Redis connection. Also, we use about 30 different Redis connections and (I think that) 30ActorSystem
instances just for Redis connectivity would be an overkill, unless absolutely necessary.The text was updated successfully, but these errors were encountered: