forked from I2P_Developers/i2p.i2p
reduce severity of CancelledKeyExceptions
trac ticket 928
This commit is contained in:
@ -187,7 +187,11 @@ class EventPumper implements Runnable {
|
||||
} catch (IOException ioe) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Error selecting", ioe);
|
||||
}
|
||||
} catch (CancelledKeyException cke) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Error selecting", cke);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (lastFailsafeIteration + FAILSAFE_ITERATION_FREQ < System.currentTimeMillis()) {
|
||||
// in the *cough* unthinkable possibility that there are bugs in
|
||||
|
Reference in New Issue
Block a user