casbin-redis-watcher icon indicating copy to clipboard operation
casbin-redis-watcher copied to clipboard

multiple instances sync

Open bowillkin opened this issue 4 years ago • 4 comments

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

bowillkin avatar Jul 08 '20 04:07 bowillkin

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

bowillkin avatar Jul 08 '20 05:07 bowillkin

@billcobbler

hsluoyz avatar Feb 12 '21 10:02 hsluoyz

I have a similar problem. no RECONNECT. @billcobbler

harryleee avatar Mar 18 '21 06:03 harryleee

You can use redis.Pool for multiple connection

maansiii avatar Mar 24 '21 04:03 maansiii