延迟推送30分钟

This commit is contained in:
yiyan
2019-05-08 10:37:07 +08:00
parent 59ccfe59bb
commit bdd7a3f9ab
@@ -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);
}