This bit of code in PingManager
seems to control the timeout after which the PingFailed
event listeners are triggered:
final long minimumTimeout = TimeUnit.MINUTES.toMillis(2);
final long connectionReplyTimeout = connection.getReplyTimeout();
final long timeout = connectionReplyTimeout > minimumTimeout ? connectionReplyTimeout : minimumTimeout;
From what I’m seeing here, it is using the generic connection replyTimeout, or 2 minutes if the connection replyTimeout is smaller.