Skip to content

Commit

Permalink
bulk
Browse files Browse the repository at this point in the history
  • Loading branch information
ARozental committed Jan 28, 2020
1 parent 643b215 commit 10b05d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/meeseeks_db/query.clj
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,6 @@
(finally
(doall (pmap #(cleanup-query client %) (conj queries scope)))))))



(defn execute-on-shard [connection all-queries qids]
"returns {qid => count}"
(let [queries (map #(nth all-queries %) qids)
Expand Down Expand Up @@ -336,6 +334,7 @@
(finally
(doall (pmap #(cleanup-query client %) (conj all-queries scope)))))))


(defn bulk-scoped-smarter-queries [client scope-spec queries-specs reference-spec]
(let [dbs @(:db client)]
(if (<= (count queries-specs) (count dbs))
Expand Down

0 comments on commit 10b05d6

Please sign in to comment.