From afad4105d1226e77ee9168e961fd0fbccd99cec3 Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Mon, 27 Oct 2014 15:19:33 -0400 Subject: [PATCH] Change default timeout for ExecUtils --- Core/src/org/sleuthkit/autopsy/coreutils/ExecUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/ExecUtil.java b/Core/src/org/sleuthkit/autopsy/coreutils/ExecUtil.java index 4c4ac502f7..536fa786a0 100644 --- a/Core/src/org/sleuthkit/autopsy/coreutils/ExecUtil.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/ExecUtil.java @@ -32,8 +32,8 @@ import java.util.logging.Level; */ public final class ExecUtil { - private static final long DEFAULT_TIMEOUT = 1000; - private static final TimeUnit DEFAULT_TIMEOUT_UNITS = TimeUnit.MILLISECONDS; + private static final long DEFAULT_TIMEOUT = 5; + private static final TimeUnit DEFAULT_TIMEOUT_UNITS = TimeUnit.SECONDS; /** * The execute() methods do a wait with a timeout on the executing process