Skip to content

Commit

Permalink
Adjust default timeouts of PortScanner
Browse files Browse the repository at this point in the history
Adjusted the default timeouts of the PortScanner to reasonable values.
Related to #62.
  • Loading branch information
qtc-de committed Apr 20, 2024
1 parent 7b74d8e commit dab302f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eu/tneitzel/rmg/operations/PortScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public class PortScanner {
private TrustAllSocketFactory sslFactory;
private RMIClientSocketFactory sockFactory;

private static int readTimeout = 5;
private static int connectTimeout = 5;
private static int readTimeout = 5000;
private static int connectTimeout = 3000;

/**
* The PortScanner class obtains the target host as a String and the ports to scan
Expand Down

0 comments on commit dab302f

Please sign in to comment.