You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2011/07/01 21:11:13 UTC

svn commit: r1142029 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java

Author: gawor
Date: Fri Jul  1 19:11:12 2011
New Revision: 1142029

URL: http://svn.apache.org/viewvc?rev=1142029&view=rev
Log:
increase timeout for publish lock to 2 mins

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java?rev=1142029&r1=1142028&r2=1142029&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java Fri Jul  1 19:11:12 2011
@@ -679,7 +679,7 @@ abstract public class GeronimoServerBeha
     public void publishStart(IProgressMonitor monitor) throws CoreException {
         doPublishStart(monitor);
         try {
-            if (!publishLock.tryLock(30, TimeUnit.SECONDS)) {
+            if (!publishLock.tryLock(120, TimeUnit.SECONDS)) {
                 throw new CoreException(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Unable to obtain publish lock"));
             }
         } catch (InterruptedException e) {