more datomic perf improvements
This commit is contained in:
@@ -69,17 +69,12 @@
|
||||
|
||||
|
||||
(defn get-graphql [args]
|
||||
|
||||
(let [ids-to-retrieve (->> (raw-graphql-ids args)
|
||||
(apply-sort args))
|
||||
matching-count (count ids-to-retrieve)
|
||||
ids-to-retrieve (apply-pagination args ids-to-retrieve )]
|
||||
|
||||
[(graphql-results ids-to-retrieve args)
|
||||
matching-count]
|
||||
#_(time (->> (graphql-results ids-to-retrieve args)
|
||||
(apply-sort args)))))
|
||||
matching-count]))
|
||||
|
||||
|
||||
(defn count-graphql [args]
|
||||
(->> (raw-graphql-ids args)
|
||||
(count)))
|
||||
|
||||
Reference in New Issue
Block a user