dsfdsf
This commit is contained in:
@@ -22,6 +22,9 @@ class SeleniumBrowser {
|
||||
reCreatePool() {
|
||||
this.pool.drain().then(() => {
|
||||
return this.pool.clear()
|
||||
}).catch(err => {
|
||||
logger.debug({message: err.message}, 'Pool draining error')
|
||||
return this.pool.clear()
|
||||
}).then(() => {
|
||||
this.createPool()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user