Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set connection.keep_alive_timeout using idle_timeout in ruby 2.0.
Ruby 2.0 added keep_alive_timeout, which behaves the same way as idle_timeout, except that the default timeout is 5 seconds rather than 2 seconds. Set keep_alive_timeout using idle_timeout to prevent the connection from getting closed before idle_timeout due to delays between requests.
- Loading branch information
1 parent
7dcbf7c
commit 1dcdf06
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters