rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob 303b8e2e9be69d5d40c0a85ae1f9bc73ef554d91 205 bytes (raw)
$ git show HEAD:lib/rainbows/coolio_thread_pool/client.rb	# shows this blob on the CLI

1
2
3
4
5
6
7
8
 
# -*- encoding: binary -*-
# :enddoc:
class Rainbows::CoolioThreadPool::Client < Rainbows::Coolio::ThreadClient
  # QUEUE constant will be set in worker_loop
  def app_dispatch
    QUEUE << self
  end
end

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