more db config changes for heroku

This commit is contained in:
Bart Akeley 2017-10-29 12:40:06 -05:00
parent f0cd8343a4
commit 8f0128ecac

View file

@ -15,7 +15,7 @@
[spec]
(let [cpds (doto (ComboPooledDataSource.)
(.setDriverClass (:classname spec))
(.setJdbcUrl (str "jdbc:" (:url db-spec)))
(.setJdbcUrl (str (:url db-spec)))
; (.setUser (:user spec))
; (.setPassword (:password spec))
;; expire excess connections after 30 minutes of inactivity: