GH-118: "failed to instantiate provider" warnings in console on SmartOS
This commit is contained in:
parent
3fc422ac2b
commit
f52a29e24c
|
@ -37,7 +37,7 @@ function createPool(options) {
|
||||||
return pooling.createPool({
|
return pooling.createPool({
|
||||||
checkInterval: options.checkInterval,
|
checkInterval: options.checkInterval,
|
||||||
log: options.log,
|
log: options.log,
|
||||||
name: 'ldapjs_' + (options.url || options.socketPath),
|
name: 'ldapjs_' + (options.url || options.socketPath).replace(/[:/]/g, '_'),
|
||||||
max: options.maxConnections,
|
max: options.maxConnections,
|
||||||
maxIdleTime: options.maxIdleTime,
|
maxIdleTime: options.maxIdleTime,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue