geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject 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
Date Fri, 01 Jul 2011 19:11:13 GMT
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) {



Mime
View raw message