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