mirror of
https://gitlab.com/wheres-the-tp/server.git
synced 2026-01-25 04:24:56 -06:00
try removing stuff from db connection settings
This commit is contained in:
parent
979d63d73c
commit
f0cd8343a4
1 changed files with 3 additions and 3 deletions
|
|
@ -15,9 +15,9 @@
|
|||
[spec]
|
||||
(let [cpds (doto (ComboPooledDataSource.)
|
||||
(.setDriverClass (:classname spec))
|
||||
(.setJdbcUrl (str "jdbc:" (:url db-spec) "/" (:db db-spec)))
|
||||
(.setUser (:user spec))
|
||||
(.setPassword (:password spec))
|
||||
(.setJdbcUrl (str "jdbc:" (:url db-spec)))
|
||||
; (.setUser (:user spec))
|
||||
; (.setPassword (:password spec))
|
||||
;; expire excess connections after 30 minutes of inactivity:
|
||||
(.setMaxIdleTimeExcessConnections (* 30 60))
|
||||
;; expire connections after 3 hours of inactivity:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue