datomic

Ask questions on the official Q&A site at https://ask.datomic.com!
Joe Lane 2021-06-01T00:05:53.138Z

You’ll have to be more specific about what you mean by “query times out”

kenny 2021-06-01T16:08:06.142400Z

Is this because there are different types of timeouts that can happen behind the scenes?

kenny 2021-06-01T00:13:50.138400Z

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

kenny 2021-06-01T00:14:39.138500Z

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)

plexus 2021-06-01T05:15:58.140700Z

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.

alexmiller 2021-06-01T12:47:35.141500Z

Doh! Thanks.

alexmiller 2021-06-01T12:47:35.141500Z

Doh! Thanks.

kenny 2021-06-01T16:08:06.142400Z

Is this because there are different types of timeouts that can happen behind the scenes?