mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 10:56:20 +00:00
📎 Change default params on exporter pool.
This commit is contained in:
parent
02025bc70a
commit
d246db7be8
@ -139,10 +139,10 @@
|
|||||||
(let [opts #js {:max (cf/get :browser-pool-max 3)
|
(let [opts #js {:max (cf/get :browser-pool-max 3)
|
||||||
:min (cf/get :browser-pool-min 0)
|
:min (cf/get :browser-pool-min 0)
|
||||||
:testOnBorrow true
|
:testOnBorrow true
|
||||||
:evictionRunIntervalMillis 30000
|
:evictionRunIntervalMillis 5000
|
||||||
:numTestsPerEvictionRun 5
|
:numTestsPerEvictionRun 5
|
||||||
:acquireTimeoutMillis 120000 ; 2min
|
:acquireTimeoutMillis 120000 ; 2min
|
||||||
:idleTimeoutMillis 30000}]
|
:idleTimeoutMillis 10000}]
|
||||||
|
|
||||||
(reset! pool (gp/createPool browser-pool-factory opts))
|
(reset! pool (gp/createPool browser-pool-factory opts))
|
||||||
(p/resolved nil)))
|
(p/resolved nil)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user