We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 547d273 commit 58b26ffCopy full SHA for 58b26ff
src/rethinkdb/net.clj
@@ -192,10 +192,7 @@
192
(async/>! (:query-chan @conn) [token (qb/parse-query :CONTINUE)])))
193
194
(defn send-start-query [conn query & [opts]]
195
- (let [async? (->> [opts @conn]
196
- (remove nil?)
197
- (map :async?)
198
- first)]
+ (let [async? (some :async? [opts @conn])]
199
(send-first-query conn (qb/parse-query :START query) async?)))
200
201
(defn send-server-query [conn]
0 commit comments