diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-01-14 13:57:16 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-01-14 13:57:16 +0900 |
commit | 87eef66181c9defc2d44ddd536e23b691f754b91 (patch) | |
tree | 228f1d1ada3f60632617b8914556d9c277ecf0e6 /lib/plum/rack/thread_pool.rb | |
parent | f9ece97b169e1cbb94db29fc7ced3b94f1c43190 (diff) | |
download | plum-87eef66181c9defc2d44ddd536e23b691f754b91.tar.gz |
rack: remove threaded option. use threadpool_size=1 instead
Diffstat (limited to 'lib/plum/rack/thread_pool.rb')
-rw-r--r-- | lib/plum/rack/thread_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plum/rack/thread_pool.rb b/lib/plum/rack/thread_pool.rb index 9e07943..43738f9 100644 --- a/lib/plum/rack/thread_pool.rb +++ b/lib/plum/rack/thread_pool.rb @@ -2,7 +2,7 @@ module Plum module Rack class ThreadPool - def initialize(size = 20) + def initialize(size) @workers = Set.new @jobs = Queue.new |