You’ll have to be more specific about what you mean by “query times out”
Is this because there are different types of timeouts that can happen behind the scenes?
e.g.,
(d/q {:query my-q
:args [db]
:timeout 1000})
Execution error (ExceptionInfo) at datomic.client.api.async/ares (async.clj:58).
Datomic Client Timeout
Datomic Client Timeout
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3711)
clojure.lang.ExceptionInfo: Datomic Client Timeout #:cognitect.anomalies{:category :cognitect.anomalies/interrupted, :message "Datomic Client Timeout"}
at datomic.client.api.async$ares.invokeStatic(async.clj:58)
at datomic.client.api.async$ares.invoke(async.clj:54)
at datomic.client.api.sync$unchunk.invokeStatic(sync.clj:48)
at datomic.client.api.sync$unchunk.invoke(sync.clj:46)
at datomic.client.api.sync$eval64879$fn__64902.invoke(sync.clj:123)
at datomic.client.api.impl$fn__11642$G__11635__11649.invoke(impl.clj:41)
at datomic.client.api.impl$call_q.invokeStatic(impl.clj:150)
at datomic.client.api.impl$call_q.invoke(impl.clj:147)
at datomic.client.api$q.invokeStatic(api.clj:393)
at datomic.client.api$q.invoke(api.clj:365)
The ask.datomic welcome email links to <https://ask.datomic.org/index.php/about>
, which is a broken link. Seems it should be .com
instead of .org
.
Doh! Thanks.