From dcc07a647db31712122bf748b280921e5fb31235 Mon Sep 17 00:00:00 2001 From: Allen Gilliland <agilliland@gmail.com> Date: Thu, 19 Mar 2015 18:38:00 -0700 Subject: [PATCH] disable making a connection pool when we are talking to datawarehouses. --- src/metabase/driver/postgres/connection.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/metabase/driver/postgres/connection.clj b/src/metabase/driver/postgres/connection.clj index 4e8cd144bdc..4c740c2aeeb 100644 --- a/src/metabase/driver/postgres/connection.clj +++ b/src/metabase/driver/postgres/connection.clj @@ -16,6 +16,7 @@ {:keys [host dbname port host]} details] (-> details (assoc :host host ; e.g. "localhost" + :make-pool? false :db-type :postgres ; HACK hardcoded to postgres for time being until API has a way to choose DB type ! :port (Integer/parseInt port)) ; convert :port to an Integer (cond-> (config/config-bool :mb-postgres-ssl) (assoc :ssl true :sslfactory "org.postgresql.ssl.NonValidatingFactory")) -- GitLab