Skip to content

Commit a27a162

Browse files
yaronthurmevg-tso
andauthored
Update src/ketu/async/source.clj
Co-authored-by: Yevgeni Tsodikov <[email protected]>
1 parent 9ca6f71 commit a27a162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ketu/async/source.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
->data (->data-fn opts)
114114
put! (fn [record] (put-or-abort-pending! out-chan (->data record) abort-pending-put))
115115

116-
maybe-execute-custom-command (if commands-chan
116+
maybe-execute-custom-command (if (some? commands-chan)
117117
(fn [] (when-let [command (async/poll! commands-chan)]
118118
(command {:ketu.source/consumer consumer})))
119119
(fn []))

0 commit comments

Comments
 (0)