fixes bug with mutlple pool instances
This commit is contained in:
parent
feab4e3990
commit
41d1391f76
|
@ -45,7 +45,7 @@ if (dns_port) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (instances) {
|
if (instances) {
|
||||||
logger && logger.info('[tor]: starting ${instances} tor instances...')
|
logger && logger.info(`[tor]: starting ${instances} tor instances...`)
|
||||||
control.torPool.create(instances, (err) => {
|
control.torPool.create(instances, (err) => {
|
||||||
logger && logger.info('[tor]: tor started');
|
logger && logger.info('[tor]: tor started');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue