mirror of
https://github.com/penpot/penpot.git
synced 2025-05-13 20:46:38 +02:00
✨ Increase the default db pool size to 60
This commit is contained in:
parent
435c627afd
commit
12b98c22bc
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@
|
||||||
(def defaults
|
(def defaults
|
||||||
{:name :main
|
{:name :main
|
||||||
:min-size 0
|
:min-size 0
|
||||||
:max-size 30
|
:max-size 60
|
||||||
:connection-timeout 10000
|
:connection-timeout 10000
|
||||||
:validation-timeout 10000
|
:validation-timeout 10000
|
||||||
:idle-timeout 120000 ; 2min
|
:idle-timeout 120000 ; 2min
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
:migrations (ig/ref :app.migrations/all)
|
:migrations (ig/ref :app.migrations/all)
|
||||||
:name :main
|
:name :main
|
||||||
:min-size (cf/get :database-min-pool-size 0)
|
: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 thread pool for IO operations
|
||||||
[::default :app.worker/executor]
|
[::default :app.worker/executor]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue