From 0b9b4edc63c0021e567c68137e1ee7f9e99ddcc5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 20 May 2011 18:13:21 -0700 Subject: xepoll_thread_pool/client: improve autopush support We need to trigger a recv() to uncork the response. This won't affect fairness (much) since all recv()s are non-blocking and a successful header parse will put us in the back of the queue. --- lib/rainbows/xepoll_thread_pool/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rainbows/xepoll_thread_pool/client.rb b/lib/rainbows/xepoll_thread_pool/client.rb index 2cf05e5..625d1ac 100644 --- a/lib/rainbows/xepoll_thread_pool/client.rb +++ b/lib/rainbows/xepoll_thread_pool/client.rb @@ -127,7 +127,7 @@ module Rainbows::XEpollThreadPool::Client def pipeline_ready(hp) # be fair to other clients, let others run first hp.parse and return queue! - kato_set + epoll_run("") false end end -- cgit v1.2.3-24-ge0c7