I can't replicate this and don't understand it yet. Sometimes I have the java.lang.IllegalStateException - Channel is closed exception when getting results. For example:
(let [sql (str "select model from " (:table config) " where id = $1")]
(async-go config sql
(let [db (config/get-connection config)
response (async/<! (query! db [sql model-id]))]
(It's not only onquery!, also got this on update!.)
Any ideas?