GH-118: "failed to instantiate provider" warnings in console on SmartOS

This commit is contained in:
Rob Gulewich 2013-02-25 21:11:52 -08:00
parent 3fc422ac2b
commit f52a29e24c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ function createPool(options) {
return pooling.createPool({
checkInterval: options.checkInterval,
log: options.log,
name: 'ldapjs_' + (options.url || options.socketPath),
name: 'ldapjs_' + (options.url || options.socketPath).replace(/[:/]/g, '_'),
max: options.maxConnections,
maxIdleTime: options.maxIdleTime,