rainbows.git about / heads / tags Unicorn for sleepy apps and slow clients
blob 9411b4a4806342518885601beaf30d8973c9bab1 176 bytes (raw) $ git show v1.0.0pre1:lib/rainbows/fiber/rev/heartbeat.rb # shows this blob on the CLI
1 2 3 4 5 6 7 8
# -*- encoding: binary -*- # :enddoc: class Rainbows::Fiber::Rev::Heartbeat < Rev::TimerWatcher G = Rainbows::G def on_timer exit if (! G.tick && G.cur <= 0) end end
git clone https://yhbt.net/rainbows.git