mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
13.37.2013 b8366d4c7981e9cf1f4a3335baeaa7aad8914213
opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java
@@ -642,7 +642,7 @@
            // response will update the timestamp as if it were a heart beat.
            if (sync.tryLockExclusively()) {
                try {
                    searchAsync(heartBeatRequest, null, this);
                    connection.searchAsync(heartBeatRequest, null, this);
                } catch (final Exception e) {
                    // This may happen when we attempt to send the heart beat just
                    // after the connection is closed but before we are notified.