diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-18 00:08:52 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-18 00:08:52 -0800 |
commit | 77f930cb64d32b3fac942b462cf4c7a04af730e3 (patch) | |
tree | 6612d92c7d3681f0701969db5060afd6c65c62e0 /lib/rainbows/event_machine.rb | |
parent | 02245b9ea8a407ac67a9633119140fa2fd2c561e (diff) | |
download | rainbows-77f930cb64d32b3fac942b462cf4c7a04af730e3.tar.gz |
And change the default to 2 seconds, most clients can render the page and load all URLs within 2 seconds.
Diffstat (limited to 'lib/rainbows/event_machine.rb')
-rw-r--r-- | lib/rainbows/event_machine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/event_machine.rb b/lib/rainbows/event_machine.rb index 056bdd5..54c1bc0 100644 --- a/lib/rainbows/event_machine.rb +++ b/lib/rainbows/event_machine.rb @@ -74,7 +74,7 @@ module Rainbows @state = :headers # keepalive requests are always body-less, so @input is unchanged @hp.headers(@env, @buf) and next - set_comm_inactivity_timeout 5 + set_comm_inactivity_timeout G.kato end return end while true |