Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed Mar 21, 2019
1 parent a4e50a5 commit e0b89ce
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/clj/qbits/spandex.clj
Expand Up @@ -366,11 +366,10 @@
:or {ttl "1m"}}]
(let [ch (or output-ch (async/chan))]
(async/go
(let [response
(async/<! (request-chan client
(assoc-in request-map
[:query-string :scroll]
ttl)))
(let [response (async/<! (request-chan client
(assoc-in request-map
[:query-string :scroll]
ttl)))
scroll-id (some-> response :body :_scroll_id)]
(async/>! ch response)
(when (and (-> response :body :hits :hits count (> 0))
Expand Down

0 comments on commit e0b89ce

Please sign in to comment.