Cargo : Container Timeout
This page last changed on Jun 11, 2010 by alitokmen.
DefinitionTimeout after which the container start/stop is deemed failed
ExplanationCargo has a timeout for container start and stop operations. If the time taken to start/stop a container exceeds the timeout period the operations is considered failed and the container is then set in the unknown state. The default timeout value is 2 minutes (120000 milliseconds). This value can be modified as shown below. Example using the Java APILocalContainer container = ...; container.setTimeout(180000L); System.out.println("Timeout = " + container.getTimeout()); Example using the Maven 2 plugin<container> [...] <timeout>180000</timeout> [...] </container> Disabling timeoutAs of CARGO version 1.0.2, if you set the timeout to 0, CARGO will not wait for the container to start or stop. |
![]() |
Document generated by Confluence on Nov 03, 2010 20:45 |