manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1421417 - /manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfaceDerby.java
Date Thu, 13 Dec 2012 18:27:55 GMT
Author: kwright
Date: Thu Dec 13 18:27:54 2012
New Revision: 1421417

URL: http://svn.apache.org/viewvc?rev=1421417&view=rev
Log:
No delay before checking for deadlocks for derby

Modified:
    manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfaceDerby.java

Modified: manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfaceDerby.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfaceDerby.java?rev=1421417&r1=1421416&r2=1421417&view=diff
==============================================================================
--- manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfaceDerby.java
(original)
+++ manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfaceDerby.java
Thu Dec 13 18:27:54 2012
@@ -84,6 +84,8 @@ public class DBInterfaceDerby extends Da
   static
   {
     System.setProperty("derby.locks.waitTimeout","-1");
+    // Detect deadlocks immediately
+    System.setProperty("derby.locks.deadlockTimeout","0");
   }
   
   protected static String getFullDatabasePath(String databaseName)



Mime
View raw message