Mercurial > hg > Database > Alice
diff src/main/java/alice/topology/manager/keeparive/RespondPing.java @ 467:6e304a7a60e7 dispose
remove white space
author | sugi |
---|---|
date | Sat, 22 Nov 2014 12:08:24 +0900 |
parents | aefbe41fcf12 |
children | 27079619f5fd |
line wrap: on
line diff
--- a/src/main/java/alice/topology/manager/keeparive/RespondPing.java Sat Nov 15 04:48:35 2014 +0900 +++ b/src/main/java/alice/topology/manager/keeparive/RespondPing.java Sat Nov 22 12:08:24 2014 +0900 @@ -19,10 +19,10 @@ System.out.print("ping from "+d.from); System.out.println(" Recieved time "+(d.time - pingedTime)); if (d.time - pingedTime > 60 * 1000){ - // need check, this connection is alive. may be close + // need check, this connection is alive. may be close DataSegment.get(d.from).shutdown(); } else { - // if nowTask close d.from's socket cancel. + // if nowTask close d.from's socket cancel. // if not remove close task in the Queue. TaskExecuter exec = TaskExecuter.getInstance(); TaskInfo task = new TaskInfo(TaskType.CLOSE);