1:修改全局白名单业务不往ysp库里写入,杨威说用不到,写了影响读

2:修改ysp样例的表达式按照表结构来,其中SRC_FILE和SRC_FILE_MD5字段不写入,DST_FILE改为redisFile_dst_file
This commit is contained in:
renkaige
2018-10-15 15:28:28 +08:00
parent 5598d79f73
commit e71ab5c82a
3 changed files with 3 additions and 5 deletions

View File

@@ -11,7 +11,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.PropertySource;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@@ -23,7 +22,6 @@ import com.nis.web.service.restful.ConfigJedisServiceimpl;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisCluster;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisSentinelPool;
import redis.clients.jedis.Tuple;
import redis.clients.util.JedisClusterCRC16;
@@ -39,7 +37,7 @@ public class SyncRedisToCluster {
// private JedisSentinelPool jedisSentinelPool;
// @Scheduled(cron = "0/3 * * * * ?")
//@Scheduled(cron = "${syncRedisToClusterCron}")
@Scheduled(cron = "${syncRedisToClusterCron}")
public void syncRedisToCluster() {
try {
// keys("EFFECTIVE_RULE*");