We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc6095 commit c54f339Copy full SHA for c54f339
src/postgres/async.clj
@@ -18,7 +18,7 @@
18
19
(defn open-db
20
"Creates a db connection pool"
21
- [{:keys [hostname port username password database pool-size] :as config}]
+ [{:keys [hostname port username password database pool-size ssl] :as config}]
22
(doseq [param [:hostname :username :password :database]]
23
(when (nil? (param config))
24
(throw (IllegalArgumentException. (str param " is required")))))
@@ -28,6 +28,7 @@
28
(.database database)
29
(.username username)
30
(.password password)
31
+ (.ssl (boolean ssl))
32
(.poolSize (or pool-size 25))
33
(.dataConverter (create-converter))
34
(.build)))
0 commit comments