mirror of https://github.com/apache/activemq.git
AMQ-1972
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@703482 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
876118997b
commit
73b8f233b0
|
@ -92,14 +92,6 @@ public class DefaultDatabaseLocker implements DatabaseLocker {
|
|||
}
|
||||
statement = null;
|
||||
}
|
||||
if (null != connection) {
|
||||
try {
|
||||
connection.close();
|
||||
} catch (SQLException e1) {
|
||||
LOG.warn("Caught while closing connection: " + e1, e1);
|
||||
}
|
||||
connection = null;
|
||||
}
|
||||
}
|
||||
|
||||
LOG.debug("Sleeping for " + lockAcquireSleepInterval + " milli(s) before trying again to get the lock...");
|
||||
|
|
Loading…
Reference in New Issue