mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 10:52:57 +00:00
* SimpleTimer: Change congestion message from error to warn
This commit is contained in:
1 parent
9289799c97
commit
14099ace69
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user