Commit c731985b authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed clean up logic. No longer aborts on first not expired element.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9317 b35dd754-fafc-0310-a699-88a17e54d16e
parent 278179f9
...@@ -445,8 +445,8 @@ public class IQRouter extends BasicModule { ...@@ -445,8 +445,8 @@ public class IQRouter extends BasicModule {
final Map.Entry<String, Long> pointer = it.next(); final Map.Entry<String, Long> pointer = it.next();
if (System.currentTimeMillis() < pointer.getValue()) { if (System.currentTimeMillis() < pointer.getValue()) {
// All other values do not time out yet. Abort this run. // This entry has not expired yet. Ignore it.
break; continue;
} }
final String packetId = pointer.getKey(); final String packetId = pointer.getKey();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment