duct 2020-12-23

We are using **. When an application crashes, are Integrant’s halt keys called and database connections thus closed?

(defmethod ig/halt-key! :duct.database.sql/hikaricp [_ {:keys [spec]}]
  (let [ds (unwrap-logger (:datasource spec))]
    (hikari-cp/close-datasource ds)))

I see await-daemons

I think halts the connections on a crash or shutdown

👍