rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob 8be3ed48fdb725de929b76673964cd239677d71c 156 bytes (raw)
$ git show HEAD:t/times.ru	# shows this blob on the CLI

1
2
3
4
5
6
 
use Rack::ContentLength
use Rack::ContentType, "text/plain"
run lambda { |env|
  t = Process.times
  [ 200, {}, [ "utime=#{t.utime} stime=#{t.stime}" ] ]
}

git clone https://yhbt.net/rainbows.git