|
@@ -95,7 +95,7 @@ public class OpcTask {
|
|
|
* 1: 分组获取数据
|
|
|
* a:保存到redis
|
|
|
*/
|
|
|
- @Scheduled(fixedDelay = 1000) //间隔1秒
|
|
|
+ @Scheduled(fixedDelay = 2000) //间隔1秒
|
|
|
public void getValue() throws JIException {
|
|
|
String key = RedisUtils.getString(RedisKeyConstants.redis_opc_update_flag);
|
|
|
String ok = RedisUtils.getString(RedisKeyConstants.redis_ok);
|