Authored by gezhengwen

修改redis保存时间

@@ -207,7 +207,7 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher @@ -207,7 +207,7 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher
207 clickUnion.info("clickUnion set redis with key={}, value={}", key, JSON.toJSONString(request)); 207 clickUnion.info("clickUnion set redis with key={}, value={}", key, JSON.toJSONString(request));
208 yhValueOperations.set(key, JSON.toJSONString(request)); 208 yhValueOperations.set(key, JSON.toJSONString(request));
209 String invalidTime = "activeTime"+"_"+request.getUnion_type(); 209 String invalidTime = "activeTime"+"_"+request.getUnion_type();
210 - DynamicIntProperty activeTime = DynamicPropertyFactory.getInstance().getIntProperty(invalidTime, 3); 210 + DynamicIntProperty activeTime = DynamicPropertyFactory.getInstance().getIntProperty(invalidTime, 48);
211 yHRedisTemplate.longExpire(key, activeTime.get(), TimeUnit.HOURS); 211 yHRedisTemplate.longExpire(key, activeTime.get(), TimeUnit.HOURS);
212 212
213 213
@@ -47,9 +47,9 @@ web.context=union @@ -47,9 +47,9 @@ web.context=union
47 draw.writeFile.delay=${draw.writeFile.delay} 47 draw.writeFile.delay=${draw.writeFile.delay}
48 48
49 #广点通 7*24 49 #广点通 7*24
50 -activeTime_3=24 50 +activeTime_3=48
51 #今日头条 24 51 #今日头条 24
52 -activeTime_4=24 52 +activeTime_4=48
53 #付费渠道 53 #付费渠道
54 activeTime_pay_channel=90 54 activeTime_pay_channel=90
55 55