bug 11874: can't find the bug number, but somebody really need this: enlarge the wait time from 3min to 9min in case there are lot of templates status 11874: resolved fixed Reviewed-by: frank
diff --git a/agent/src/com/cloud/agent/Agent.java b/agent/src/com/cloud/agent/Agent.java index 6869663..406281f 100755 --- a/agent/src/com/cloud/agent/Agent.java +++ b/agent/src/com/cloud/agent/Agent.java
@@ -314,7 +314,7 @@ } synchronized (this) { _startup = new StartupTask(link); - _timer.schedule(_startup, 180000); + _timer.schedule(_startup, 180000 * 3); } try { link.send(request.toBytes());