Change default timeout for ExecUtils

This commit is contained in:
Richard Cordovano 2014-10-27 15:19:33 -04:00
parent 78315505c5
commit afad4105d1

View File

@ -32,8 +32,8 @@ import java.util.logging.Level;
*/ */
public final class ExecUtil { public final class ExecUtil {
private static final long DEFAULT_TIMEOUT = 1000; private static final long DEFAULT_TIMEOUT = 5;
private static final TimeUnit DEFAULT_TIMEOUT_UNITS = TimeUnit.MILLISECONDS; private static final TimeUnit DEFAULT_TIMEOUT_UNITS = TimeUnit.SECONDS;
/** /**
* The execute() methods do a wait with a timeout on the executing process * The execute() methods do a wait with a timeout on the executing process