Skip to content

Commit

Permalink
Try upping ping timeout for big mathlib transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha authored Jan 24, 2024
1 parent 1d2af46 commit e38935a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class HeartbeatHandler {

private static final Logger LOGGER = LoggerFactory.getLogger(HeartbeatHandler.class);

private static final int DEFAULT_TIMEOUT_SECONDS = 20;
private static final int DEFAULT_TIMEOUT_SECONDS = 200;

private final AtomicReference<Instant> lastTime;
private volatile boolean run;
Expand All @@ -22,7 +22,7 @@ public class HeartbeatHandler {
* Creates a new heartbeat handler for the given socket.
*
* <p>
* Uses the default timeout of <em>currently</em> 20 seconds.
* Uses the default timeout of <em>currently</em> 200 seconds.
*
* @param socketConnection the socket to monitor
*/
Expand Down

0 comments on commit e38935a

Please sign in to comment.