0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

Increase the default db pool size to 60

This commit is contained in:
Andrey Antukh 2022-09-17 10:46:35 +02:00
parent 435c627afd
commit 12b98c22bc
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@
(def defaults
{:name :main
:min-size 0
:max-size 30
:max-size 60
:connection-timeout 10000
:validation-timeout 10000
:idle-timeout 120000 ; 2min

View file

@ -23,7 +23,7 @@
:migrations (ig/ref :app.migrations/all)
:name :main
:min-size (cf/get :database-min-pool-size 0)
:max-size (cf/get :database-max-pool-size 30)}
:max-size (cf/get :database-max-pool-size 60)}
;; Default thread pool for IO operations
[::default :app.worker/executor]