🐛 Fix strange bug on db connection handling.

This need investigation.
This commit is contained in:
Andrey Antukh 2020-05-11 08:01:55 +02:00 committed by Alonso Torres
parent 22f8285e0b
commit ba618eb51d

View file

@ -27,7 +27,7 @@
(assoc :password password) (assoc :password password)
(str))] (str))]
(log/info "creating connection pool with" dburi) (log/info "creating connection pool with" dburi)
(pg/pool dburi {:system system :max-size 8}))) (pg/pool dburi {:system system :max-size 1})))
(defstate pool (defstate pool
:start (create-pool cfg/config system)) :start (create-pool cfg/config system))