From d6681469a18a7fecd18a8a58834d910c84c3f00f Mon Sep 17 00:00:00 2001 From: Gijs Stuurman Date: Sat, 19 May 2012 16:25:59 +0200 Subject: [PATCH] do not flush in acknowledge-arrays, is also used for client->server via post, flush-buffer always called elseweher --- clj-browserchannel-server/src/net/thegeez/browserchannel.clj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clj-browserchannel-server/src/net/thegeez/browserchannel.clj b/clj-browserchannel-server/src/net/thegeez/browserchannel.clj index f55615f..a367602 100644 --- a/clj-browserchannel-server/src/net/thegeez/browserchannel.clj +++ b/clj-browserchannel-server/src/net/thegeez/browserchannel.clj @@ -358,8 +358,7 @@ (-> this (assoc :last-acknowledged-array-id array-id) ;; don't need to keep already array ids sent before acknowledged one - (update-in [:array-buffer] drop-queue array-id) - (flush-buffer)))) + (update-in [:array-buffer] drop-queue array-id)))) ;; tries to do the actual writing to the client ;; @todo the composition is a bit awkward in this method due to the ;; try catch and if mix