sdfdf
This commit is contained in:
@@ -22,8 +22,16 @@ class SeleniumBrowser {
|
||||
driver.quit()
|
||||
}
|
||||
}, {
|
||||
max: 10, min: 1
|
||||
max: 10, min: 1, evictionRunIntervalMillis: 1000 * 60
|
||||
});
|
||||
|
||||
this.pool.on('factoryCreateError', function (err) {
|
||||
logger.error(err.message, 'pool error')
|
||||
})
|
||||
|
||||
this.pool.on('factoryDestroyError', function (err) {
|
||||
logger.error(err.message, 'pool error')
|
||||
})
|
||||
}
|
||||
|
||||
getDriver() {
|
||||
|
||||
Reference in New Issue
Block a user