This commit is contained in:
spiduler
2020-10-23 03:42:53 +09:00
parent cce39c94b5
commit 35a6ecfecf

View File

@@ -22,7 +22,10 @@ class SeleniumBrowser {
driver.quit() driver.quit()
} }
}, { }, {
max: 20, min: 1, evictionRunIntervalMillis: 1000 * 60 max: 20, min: 1, evictionRunIntervalMillis: 1000 * 10,
acquireTimeoutMillis: 1000 * 5,
fifo: false,
softIdleTimeoutMillis: 1000 * 5
}); });
this.pool.on('factoryCreateError', function (err) { this.pool.on('factoryCreateError', function (err) {