RuffyScripter: increase overall command timeout to 4m.
This commit is contained in:
parent
1da8f2080f
commit
7b7bc6efb6
1 changed files with 2 additions and 2 deletions
|
@ -232,7 +232,7 @@ public class RuffyScripter implements RuffyCommands {
|
|||
List<String> violations = cmd.validateArguments();
|
||||
if (!violations.isEmpty()) {
|
||||
log.error("Command argument violations: " + Joiner.on(", ").join(violations));
|
||||
return new CommandResult().state(readPumpStateInternal());
|
||||
return new CommandResult().success(false).state(readPumpStateInternal());
|
||||
}
|
||||
|
||||
// TODO simplify, hard to reason about exists
|
||||
|
@ -358,7 +358,7 @@ public class RuffyScripter implements RuffyCommands {
|
|||
}
|
||||
|
||||
private long calculateOverallCmdTimeout() {
|
||||
return System.currentTimeMillis() + 3 * 60 * 1000;
|
||||
return System.currentTimeMillis() + 4 * 60 * 1000;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue