Skip to content

Commit

Permalink
remove sizeLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
madsharm committed Nov 30, 2020
1 parent ae3978b commit 03a73ae
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/ldap.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ function initializeConnection () {
});

connection.heartbeat = function (callback) {
var opts = {
scope: 'sub',
filter: nconf.get('LDAP_HEARTBEAT_SEARCH_QUERY'),
sizeLimit: 1
};
connection.search(nconf.get('LDAP_BASE'), opts, function (err, res) {
connection.search(nconf.get('LDAP_BASE'), nconf.get('LDAP_HEARTBEAT_SEARCH_QUERY'), function (err, res) {
if (err) {
return callback(err);
}
Expand Down

0 comments on commit 03a73ae

Please sign in to comment.