repo.or.cz
/
rainbows.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bump Unicorn dependency to 1.1.1
[rainbows.git]
/
t
/
t9000.ru
blob
66643b6919f8fb02b54e8ffe4128eb4960910dc2
1
use Rack::ContentLength
2
use Rack::ContentType
3
use Rainbows::AppPool, :size => ENV['APP_POOL_SIZE'].to_i
4
class Sleeper
5
def call(env)
6
Rainbows.sleep(1)
7
[ 200, {}, [ "#{object_id}\n" ] ]
8
end
9
end
10
run Sleeper.new