t/simple-http_Revactor.ru in rainbows-0.9.0 vs t/simple-http_Revactor.ru in rainbows-0.90.0
- old
+ new
@@ -1,8 +1,7 @@
use Rack::ContentLength
use Rack::ContentType
run lambda { |env|
- Actor.sleep 1
if env['rack.multithread'] == false && env['rainbows.model'] == :Revactor
[ 200, {}, [ Thread.current.inspect << "\n" ] ]
else
raise "rack.multithread is true"
end