This commit is contained in:
spiduler
2020-10-25 00:04:33 +09:00
parent 3ca70140b1
commit 2821108288

View File

@@ -16,7 +16,7 @@ class SeleniumBrowser {
this.capabilities = Capabilities.chrome() this.capabilities = Capabilities.chrome()
this.sleep = m => new Promise(r => setTimeout(r, m)) this.sleep = m => new Promise(r => setTimeout(r, m))
this.createPool() this.createPool()
setInterval(() => this.reCreatePool(), 1000 * 60) setInterval(() => this.reCreatePool(), 1000 * 60 * 3)
} }
reCreatePool() { reCreatePool() {