RedisWatcherAutoConfigration bug
ShingmoYeung opened this issue · comments
in
src/main/java/org/casbin/spring/boot/autoconfigure/CasbinRedisWatcherAutoConfiguration.java
casbinProperties.getPolicyTopic() should be passed in, not redisProperties.getClientName().
// fixed channel-name RedisWatcher watcher = new RedisWatcher(redisProperties.getHost(), redisProperties.getPort(), casbinProperties.getPolicyTopic(), timeout, redisProperties.getPassword());
@ShingmoYeung hi, can you make a PR to fix it?
@hsluoyz sure