Be consistent with the timeouts used in DirectoryServer and WaitForFileDelete. Their default value must be the same.
| | |
| | | // if it does not exist in the common servicetag registry. |
| | | private ServiceTagRegistration serviceTagRegistry; |
| | | |
| | | /** |
| | | * The default timeout used to start the server in detach mode. |
| | | */ |
| | | public static int DEFAULT_TIMEOUT = 200; |
| | | |
| | | /** |
| | | * Creates a new instance of the Directory Server. This will allow only a |
| | |
| | | // Not used in this class, but required by the start-ds script |
| | | // (see issue #3814) |
| | | timeout = new IntegerArgument("timeout", 't', "timeout", true, false, |
| | | true, INFO_SECONDS_PLACEHOLDER.get(), 60, |
| | | true, INFO_SECONDS_PLACEHOLDER.get(), |
| | | DEFAULT_TIMEOUT, |
| | | null, true, 0, false, |
| | | 0, INFO_DSCORE_DESCRIPTION_TIMEOUT.get()); |
| | | argParser.addArgument(timeout); |
| | |
| | | import java.io.File; |
| | | import java.io.RandomAccessFile; |
| | | |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.util.args.ArgumentException; |
| | | import org.opends.server.util.args.ArgumentParser; |
| | | import org.opends.server.util.args.BooleanArgument; |
| | |
| | | |
| | | |
| | | timeout = new IntegerArgument("timeout", 't', "timeout", true, false, |
| | | true, INFO_SECONDS_PLACEHOLDER.get(), 200, |
| | | true, INFO_SECONDS_PLACEHOLDER.get(), |
| | | DirectoryServer.DEFAULT_TIMEOUT, |
| | | null, true, 0, false, |
| | | 0, INFO_WAIT4DEL_DESCRIPTION_TIMEOUT.get()); |
| | | argParser.addArgument(timeout); |