forked from I2P_Developers/i2p.i2p
propagate from branch 'i2p.i2p' (head b026fe071e77884ef6d104635c793ef16357ec71)
to branch 'i2p.i2p.str4d.eddsa' (head 0d928736c4a34d8a337e1f55e095fe90564ea1fb)
This commit is contained in:
@@ -1629,8 +1629,8 @@ public class DataHelper {
|
||||
return rv;
|
||||
}
|
||||
|
||||
private static final String escapeChars[] = {"&", "\"", "<", ">", "\"", "'"};
|
||||
private static final String escapeCodes[] = {"&", """, "<", ">", """, "'"};
|
||||
private static final String escapeChars[] = {"&", "\"", "<", ">", "'"};
|
||||
private static final String escapeCodes[] = {"&", """, "<", ">", "'"};
|
||||
|
||||
/**
|
||||
* Escape a string for inclusion in HTML
|
||||
|
||||
@@ -97,7 +97,7 @@ public class Clock implements Timestamper.UpdateListener {
|
||||
getLog().info("Updating clock offset to " + offsetMs + "ms from " + _offset + "ms");
|
||||
|
||||
if (!_statCreated) {
|
||||
_context.statManager().createRequiredRateStat("clock.skew", "Clock step adjustment (ms)", "Clock", new long[] { 10*60*1000, 3*60*60*1000, 24*60*60*60 });
|
||||
_context.statManager().createRequiredRateStat("clock.skew", "Clock step adjustment (ms)", "Clock", new long[] { 10*60*1000, 3*60*60*1000, 24*60*60*1000 });
|
||||
_statCreated = true;
|
||||
}
|
||||
_context.statManager().addRateData("clock.skew", delta, 0);
|
||||
|
||||
Reference in New Issue
Block a user