billcobbler / casbin-redis-watcher

Redis watcher for Casbin https://github.com/casbin/casbin
Apache License 2.0
20 stars 23 forks source link

multiple instances sync #15

Open bowillkin opened 4 years ago

bowillkin commented 4 years ago

What is the difference between the use of setup callback and update in the case of multiple instances?

bowillkin commented 4 years ago

like this : use of closed network connectionFailure from Redis subscription: write tcp 10.0.32.89:48008->10.0.6.27:6379

How to solve this problem

hsluoyz commented 3 years ago

@billcobbler

harryleee commented 3 years ago

I have a similar problem. no RECONNECT. @billcobbler

maansiii commented 3 years ago

You can use redis.Pool for multiple connection