延迟推送30分钟
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user