I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 14099ace authored by zzz's avatar zzz
Browse files

* SimpleTimer: Change congestion message from error to warn

parent 9289799c
No related branches found
No related tags found
No related merge requests found
......@@ -107,8 +107,8 @@ public class SimpleTimer {
_events.notifyAll();
}
if (time.longValue() > eventTime + 100) {
if (_log.shouldLog(Log.ERROR))
_log.error("Lots of timer congestion, had to push " + event + " back "
if (_log.shouldLog(Log.WARN))
_log.warn("Lots of timer congestion, had to push " + event + " back "
+ (time.longValue()-eventTime) + "ms (# events: " + totalEvents + ")");
}
long timeToAdd = System.currentTimeMillis() - now;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment