properly !LART on comm error, and initialize the log correctly

This commit is contained in:
jrandom
2004-05-22 12:02:18 +00:00
committed by zzz
parent 7a39d9240c
commit 67edc437d2

View File

@ -27,6 +27,7 @@ public class ProfileManagerImpl implements ProfileManager {
public ProfileManagerImpl(RouterContext context) {
_context = context;
_log = _context.logManager().getLog(ProfileManagerImpl.class);
}
/**
@ -73,8 +74,8 @@ public class ProfileManagerImpl implements ProfileManager {
PeerProfile data = getProfile(peer);
if (data == null) return;
data.setLastSendFailed(_context.clock().now());
data.getSendFailureSize().addData(0, 0); // yeah, should be a frequency...
data.getCommError().addData(0, 0); // see above
data.getSendFailureSize().addData(1, 0); // yeah, should be a frequency...
data.getCommError().addData(1, 0); // see above
}
/**