remove check expired device code which is not work now
This commit is contained in:
@@ -186,12 +186,12 @@ public class ApnsServer implements ApnsDelegate {
|
|||||||
final ApnsNotification goodMsg = service.push(service == voipSvc ? pushMessage.getVoipDeviceToken() : pushMessage.getDeviceToken(), payload, null);
|
final ApnsNotification goodMsg = service.push(service == voipSvc ? pushMessage.getVoipDeviceToken() : pushMessage.getDeviceToken(), payload, null);
|
||||||
LOG.info("Message id: " + goodMsg.getIdentifier());
|
LOG.info("Message id: " + goodMsg.getIdentifier());
|
||||||
|
|
||||||
|
//
|
||||||
//检查key到期日期
|
// //检查key到期日期
|
||||||
final Map<String, Date> inactiveDevices = service.getInactiveDevices();
|
// final Map<String, Date> inactiveDevices = service.getInactiveDevices();
|
||||||
for (final Map.Entry<String, Date> ent : inactiveDevices.entrySet()) {
|
// for (final Map.Entry<String, Date> ent : inactiveDevices.entrySet()) {
|
||||||
LOG.info("Inactive " + ent.getKey() + " at date " + ent.getValue());
|
// LOG.info("Inactive " + ent.getKey() + " at date " + ent.getValue());
|
||||||
}
|
// }
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user