From 2d651a41f01e77885eaf662f5cdbe63e031df132 Mon Sep 17 00:00:00 2001
From: jrandom <jrandom>
Date: Thu, 26 Jan 2006 04:47:12 +0000
Subject: [PATCH] 2006-01-25  jrandom     * Run the peer profile
 coalescing/reorganization outside the job queue       (on one of the timers),
 to cut down on some job queue congestion.  Also,       trim old profiles
 while running, not just when starting up.     * Slightly more sane
 intra-floodfill-node netDb activity (only flood new       entries)     *
 Workaround in the I2PTunnelHTTPServer for some bad requests (though the      
 source of the bug is not yet addressed)     * Better I2PSnark reconnection
 handling     * Further cleanup in the new tunnel build process     * Make
 sure we expire old participants properly     * Remove much of the transient
 overload throttling (it wasn't using a good       metric)

---
 .../java/src/net/i2p/router/web/SummaryHelper.java             | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
index 4eb05ab371..9a96bd3837 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
@@ -81,6 +81,9 @@ public class SummaryHelper {
             now = _fmt.format(new Date(_context.clock().now()));
         }
         
+        if (!_context.clock().getUpdatedSuccessfully())
+            return now + " (nknown skew)";
+        
         long ms = _context.clock().getOffset();
         
         long diff = ms;
-- 
GitLab