bhauman / devcards

Devcards aims to provide a visual REPL experience for ClojureScript
1.53k stars 113 forks source link

Limit of 1024 devcards #117

Closed gadfly361 closed 6 years ago

gadfly361 commented 7 years ago

This will likely be a rare thing to run in to, but wanted to mention that devcards appear to have an upper limit of 1024 cards.

Here is the error message that I am getting:

Uncaught Error: Assert failed: No more than 1024 pending puts are allowed on a single channel. Consider using a windowed buffer.
(< (.-length puts) impl/MAX-QUEUE-SIZE)

Step to reproduce:

  1. lein new devcards devcard-limit
  2. Replace first-card with:
    (doseq [x (range 1025)]
    (defcard
    (sab/html [:div
               [:h1 x]])))
  3. lein figwheel
martyglaubitz commented 6 years ago

Also seeing this on Windows 10

gadfly361 commented 6 years ago

Woohoo, thank you!!