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

Matthew Swift
13.37.2013 44204125ab7e2422f88b17614a00271dc4ab08f7
Minor fix.
1 files modified
2 ■■■ changed files
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java 2 ●●● patch | view | raw | blame | history
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.