0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-10 06:41:40 -05:00

📎 Change default params on exporter pool.

This commit is contained in:
Andrey Antukh 2021-09-20 14:37:42 +02:00 committed by Andrés Moya
parent 02025bc70a
commit d246db7be8

View file

@ -139,10 +139,10 @@
(let [opts #js {:max (cf/get :browser-pool-max 3)
:min (cf/get :browser-pool-min 0)
:testOnBorrow true
:evictionRunIntervalMillis 30000
:evictionRunIntervalMillis 5000
:numTestsPerEvictionRun 5
:acquireTimeoutMillis 120000 ; 2min
:idleTimeoutMillis 30000}]
:idleTimeoutMillis 10000}]
(reset! pool (gp/createPool browser-pool-factory opts))
(p/resolved nil)))