From 08c52c81bc49023a645dd211c4c983a60ac64e13 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 15 Oct 2009 13:42:07 -0700 Subject: app_pool: note it being currently broken with Revactor Revactor does not use threads and blocking on a stock Queue class does not work. Eventually this should be made to work with the Actor model, but until then, we'll at least document it... --- lib/rainbows/app_pool.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/rainbows/app_pool.rb') diff --git a/lib/rainbows/app_pool.rb b/lib/rainbows/app_pool.rb index c0e1df3..ccb0bdb 100644 --- a/lib/rainbows/app_pool.rb +++ b/lib/rainbows/app_pool.rb @@ -39,10 +39,11 @@ module Rainbows # AppPool should be used if you want to enforce a lower value of +P+ # than +N+. # - # AppPool has no effect on the Rainbows::Rev concurrency model as that is + # AppPool has no effect on the Rev concurrency model as that is # single-threaded/single-instance as far as application concurrency goes. - # In other words, +P+ is always +one+ when using \Rev (but not - # \Revactor) regardless of (or even if) this middleware is loaded. + # In other words, +P+ is always +one+ when using Rev. AppPool currently + # only works with the ThreadSpawn and ThreadPool models. It does not + # yet work reliably with the Revactor model, yet. # # Since this is Rack middleware, you may load this in your Rack # config.ru file and even use it in servers other than \Rainbows! -- cgit v1.2.3-24-ge0c7