Skip to content
This repository has been archived by the owner. It is now read-only.

fix stream2es memleak #2

Open
wants to merge 1 commit into
base: loggly
from
Open
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -61,12 +61,9 @@

(defn make-callback [opts handler]
(fn []
(doall
(map handler
(concat
(map make-doc
(es/scan (:source opts)
(doseq [doc (es/scan (:source opts)
(:query opts)
(:scroll-time opts)
(:scroll-size opts)))
[:eof])))))
(:scroll-size opts))]
(handler (make-doc doc)))
(handler :eof)))
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.