mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
handle corruption / race during update of the peer's routerInfo data
This commit is contained in:
@@ -84,6 +84,8 @@ class PeerSummaryReader {
|
||||
}
|
||||
}
|
||||
|
||||
if (summary == null)
|
||||
return;
|
||||
summary.coallesceData(monitor.getSummaryDurationHours() * 60*60*1000);
|
||||
monitor.addSummary(summary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user