make keepalive_timeout configurable
commit77f930cb64d32b3fac942b462cf4c7a04af730e3
authorEric Wong <normalperson@yhbt.net>
Wed, 18 Nov 2009 08:08:52 +0000 (18 00:08 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 18 Nov 2009 08:08:52 +0000 (18 00:08 -0800)
tree6612d92c7d3681f0701969db5060afd6c65c62e0
parent02245b9ea8a407ac67a9633119140fa2fd2c561e
make keepalive_timeout configurable

And change the default to 2 seconds, most clients can
render the page and load all URLs within 2 seconds.
lib/rainbows.rb
lib/rainbows/base.rb
lib/rainbows/event_machine.rb
lib/rainbows/http_server.rb
lib/rainbows/rev/heartbeat.rb
lib/rainbows/revactor.rb
t/test-lib.sh