n***@oscaro.com
2017-08-16 10:13:42 UTC
Hello,
I couldn't find a repo for the datomic clj-client where I could submit a
proper issue and/or pull request. I'm currently using clj-client 0.8.606
and it seems to use either parked threads or non daemon ones
in its pool, preventing any proper shutdown (for example in a pedestal
environment).
I was forced to use this awkward workaround:
(defn shutdown
"Gracefully shuts down the application"
[conn]
(d/shutdown conn)
(cognitect.http-client/stop
@datomic.client.conn-impl/http-client))
Any chance you could include something similar into the shutdown function
in a future release?
Thanks in advance
Nicolas
I couldn't find a repo for the datomic clj-client where I could submit a
proper issue and/or pull request. I'm currently using clj-client 0.8.606
and it seems to use either parked threads or non daemon ones
in its pool, preventing any proper shutdown (for example in a pedestal
environment).
I was forced to use this awkward workaround:
(defn shutdown
"Gracefully shuts down the application"
[conn]
(d/shutdown conn)
(cognitect.http-client/stop
@datomic.client.conn-impl/http-client))
Any chance you could include something similar into the shutdown function
in a future release?
Thanks in advance
Nicolas
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.