修复代理访问跨域问题,和ScheduledFuture取消任务时指令重排异常,不结束正在运行的任务。防止 Command interrupted
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.genersoft.iot.vmp.utils.redis;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import org.springframework.data.redis.core.Cursor;
|
||||
import org.springframework.data.redis.core.RedisCallback;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
@@ -38,7 +39,7 @@ public class RedisUtil {
|
||||
return keys;
|
||||
});
|
||||
|
||||
return new ArrayList<>(resultKeys);
|
||||
return Lists.newArrayList(resultKeys);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user