Skip to content

Commit

Permalink
Increase ssh timeout from 3 to 7 seconds (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse committed Jan 20, 2024
1 parent c7a425a commit 319763e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public RoboRIO(String name, Project project, DeployExtension de, FRCExtension fr

setMaxChannels(4);

// Increase timeout. The only time this is really used is if the host is resolved,
// but takes forever to connect, which can happen if the CPU is loaded.
setTimeout(7);

setOnlyIf(ctx -> verifyOnlyIf(ctx));

// Make a copy of valid image versions so user defined cannot modify the global array
Expand Down

0 comments on commit 319763e

Please sign in to comment.