* TunnelDispatcher: Fix bug in -13 preventing participating

tunnels from being expired and causing high CPU usage
This commit is contained in:
zzz
2011-09-09 03:56:59 +00:00
parent 0a83510690
commit 3aa7f19530
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2011-09-09 zzz
* TunnelDispatcher: Fix bug in -13 preventing participating
tunnels from being expired and causing high CPU usage
2011-09-08 zzz
* Blocklist: Include IP in shitlist reason
* Ministreaming: Drop old classes replaced by streaming

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 14;
public final static long BUILD = 15;
/** for example "-test" */
public final static String EXTRA = "";

View File

@ -792,8 +792,9 @@ public class TunnelDispatcher implements Service {
if (exp < now) {
_configs.poll();
remove(cur);
} else if (exp < nextTime) {
nextTime = exp;
} else {
if (exp < nextTime)
nextTime = exp;
break;
}
}