Hi Peter, On Fri, Mar 28, 2014 at 2:48 AM, Peter Taoussanis <ptaoussa...@gmail.com> wrote: > Hi all, quick question: > > `(dotimes [_ 50000] (go (<! (async/timeout 100))))` runs as expected. > `(dotimes [_ 50000] (go (<! (async/timeout (+ 50 (rand-int 100))))))` > produces an error: > > (< (.size takes) impl/MAX-QUEUE-SIZE)> java.lang.AssertionError: Assert > failed: No more than 1024 pending takes are allowed on a single channel. > > It appears (?) that there's a (surprisingly low?) limit to the number of > unique timeout timestamps that can be simultaneously queued. > > Is this the expected behaviour running Clojure 1.6.0, core.async > 0.1.278.0-76b25b-alpha? > > Much appreciated, thanks! Cheers :-)
I _still_ have no personal experience with core.async ( :((( ), but I did spot this message coming through recently which answers your question with 'yes' I believe. https://groups.google.com/forum/#!searchin/clojure/1024/clojure/NIPIzJ7l6RA/Idm1_2GMlCMJ It sounds like you need to use a different kind of channel buffer (whatever that means :). -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.