diff --git a/project.clj b/project.clj index 45e0183..caf8fb3 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject views "0.4.0" +(defproject views "0.4.1" :description "You underestimate the power of the SQL side" :url "https://github.com/diligenceengine/views" diff --git a/src/views/router.clj b/src/views/router.clj index d9e1d65..567ad93 100644 --- a/src/views/router.clj +++ b/src/views/router.clj @@ -27,9 +27,9 @@ (defn init! [{:keys [base-subscribed-views] :as conf} client-chan] - (let [subs (chan) - unsubs (chan) - control (chan) + (let [subs (chan 200) + unsubs (chan 200) + control (chan 200) disconnects (filter< #(= :disconnect (:body %)) control)] (sub client-chan :views.subscribe subs) (sub client-chan :views.unsubscribe unsubs)