We are using *<https://github.com/duct-framework/database.sql.hikaricp|database.sql.hikaricp>*
. 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
đź‘Ť