修改测试重发方式

back_recharge
lvxinran 2021-01-14 18:53:48 +08:00
parent f28fd3a65d
commit 5db99079a1
1 changed files with 5 additions and 5 deletions

View File

@ -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);
}