延迟推送30分钟
This commit is contained in:
parent
23885ea2b7
commit
d46bf9f62e
|
|
@ -91,8 +91,8 @@ public class MinaServerHandler extends IoHandlerAdapter {
|
|||
jobGroup.setMacAddress(macAddress);
|
||||
//离线时间
|
||||
jobGroup.setTimestamp(IfishUtil.format(new Date()));
|
||||
//10分钟后推送
|
||||
jobGroup.setStartTime(new Date(System.currentTimeMillis() + 600000L));
|
||||
//10分钟后推送 update 30分钟
|
||||
jobGroup.setStartTime(new Date(System.currentTimeMillis() + 600000L * 3));
|
||||
scheduleJob.addJob(jobGroup);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue