修改测试重发方式
parent
f28fd3a65d
commit
5db99079a1
|
@ -138,12 +138,12 @@ public class SessionManager implements INetSession<ISession>, INetReceived<ISess
|
|||
|
||||
private void ackIndication(ISession iSession, int ackId) {
|
||||
LOGGER.info("the uid={},the ackId={}", iSession.getUid(), ackId);
|
||||
try {
|
||||
TimeUnit.SECONDS.sleep(2);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
iSession.clearIndication(ackId);
|
||||
// try {
|
||||
// TimeUnit.SECONDS.sleep(3600);
|
||||
// } catch (InterruptedException e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
MessageUtil.sendAck(iSession, ackId);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue