From f0cd8343a40803043a2f487561fcbefd6a9e6252 Mon Sep 17 00:00:00 2001 From: Bart Akeley Date: Sun, 29 Oct 2017 12:37:35 -0500 Subject: [PATCH] try removing stuff from db connection settings --- src/aretherecookies/db.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aretherecookies/db.clj b/src/aretherecookies/db.clj index 18c0e1a..d28628f 100644 --- a/src/aretherecookies/db.clj +++ b/src/aretherecookies/db.clj @@ -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: