Skip to content
Snippets Groups Projects
Commit dcc07a64 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

disable making a connection pool when we are talking to datawarehouses.

parent a69e477f
No related branches found
No related tags found
No related merge requests found
......@@ -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"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment