Sha256: f2fbe9091dc68de9577cea0ef77cc005c2cbeaec920a79493c994f9a89da23f9

Contents?: true

Size: 252 Bytes

Versions: 9

Compression:

Stored size: 252 Bytes

Contents

use Rack::ContentLength
use Rack::ContentType
run lambda { |env|
  sleep 1
  if env['rack.multithread'] && env['rainbows.model'] == :ThreadPool
    [ 200, {}, [ Thread.current.inspect << "\n" ] ]
  else
    raise "rack.multithread is not true"
  end
}

Version data entries

9 entries across 8 versions & 1 rubygems

Version Path
rainbows-0.9.0 t/simple-http_ThreadPool.ru
rainbows-0.8.0 t/simple-http_ThreadPool.ru
rainbows-0.7.0 t/simple-http_ThreadPool.ru
rainbows-0.6.0 t/simple-http_ThreadPool.ru
rainbows-0.5.0 t/simple-http_ThreadPool.ru
rainbows-0.4.0 t/t1000.ru
rainbows-0.4.0 t/simple-http_ThreadPool.ru
rainbows-0.3.0 t/t1000.ru
rainbows-0.2.0 t/t1000.ru