From 14099ace695de3622d1217b2908dfbe9ee3e8fcc Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Mon, 30 Jun 2008 03:07:00 +0000
Subject: [PATCH]     * SimpleTimer: Change congestion message from error to
 warn

---
 core/java/src/net/i2p/util/SimpleTimer.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/java/src/net/i2p/util/SimpleTimer.java b/core/java/src/net/i2p/util/SimpleTimer.java
index 704f511633..3114e4dbd0 100644
--- a/core/java/src/net/i2p/util/SimpleTimer.java
+++ b/core/java/src/net/i2p/util/SimpleTimer.java
@@ -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;
-- 
GitLab