diff options
-rw-r--r-- | server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java b/server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java index 6eba8b801c3..67b3fc3a43d 100644 --- a/server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java +++ b/server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java @@ -56,15 +56,6 @@ import java.util.concurrent.TimeUnit; */ public class ProcessWrapper extends Thread implements Terminable { - static { - // by default there's no timeout on RMI calls on client-side - // http://docs.oracle.com/javase/6/docs/technotes/guides/rmi/sunrmiproperties.html - System.setProperty("sun.rmi.transport.connectionTimeout", "5000"); - System.setProperty("sun.rmi.transport.tcp.handshakeTimeout", "5000"); - System.setProperty("sun.rmi.transport.tcp.handshakeTimeout", "5000"); - System.setProperty("sun.rmi.transport.tcp.readTimeout", "5000"); - } - private final static Logger LOGGER = LoggerFactory.getLogger(ProcessWrapper.class); public static final long READY_TIMEOUT_MS = 300000L; |