n***@oscaro.com
2017-10-26 16:04:33 UTC
Hello,
I'm using the datomic client and a peer server with the latest version of
datomic (0.9.5561.62). Often when executing queries the first time such as
this one:
(let [db (d/db conn)
start #inst"2017-10-23"
end #inst"2017-10-24"
day-db (d/as-of (d/since db start) end)
pages (<!! (d/datoms day-db {:index :aevt
:components [:page/creation-date]
:limit 10
:chunk 10
:timeout 300000}))]
pages)
I often get a `{:cognitect.anomalies/category :cognitect.anomalies/fault,
:datomic.client/http-error nil}` error, despite setting a ridiculous
timeout. The peer logs don't say much, the peer CPU however is churning
then usually works on the 2nd and 3rd attempt. Is there some option I'm
missing perhaps?
Thanks in advance,
Nicolas
I'm using the datomic client and a peer server with the latest version of
datomic (0.9.5561.62). Often when executing queries the first time such as
this one:
(let [db (d/db conn)
start #inst"2017-10-23"
end #inst"2017-10-24"
day-db (d/as-of (d/since db start) end)
pages (<!! (d/datoms day-db {:index :aevt
:components [:page/creation-date]
:limit 10
:chunk 10
:timeout 300000}))]
pages)
I often get a `{:cognitect.anomalies/category :cognitect.anomalies/fault,
:datomic.client/http-error nil}` error, despite setting a ridiculous
timeout. The peer logs don't say much, the peer CPU however is churning
then usually works on the 2nd and 3rd attempt. Is there some option I'm
missing perhaps?
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.