Skip to content

Commit

Permalink
documented the various timeout config directives. thanks Mike Ferrier.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Mar 24, 2011
1 parent cc14fc8 commit ad2e7c3
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions README
Expand Up @@ -87,10 +87,52 @@ Directives
redis2_pass

redis2_connect_timeout
syntax: *redis2_connect_timeout <time>*

default: *60s*

context: *http, server, location*

The timeout for connecting to the redis server, in seconds by
default.

It's wise to always explicitly specify the time unit to avoid confusion.
Time units supported are "s"(seconds), "ms"(milliseconds), "y"(years),
"M"(months), "w"(weeks), "d"(days), "h"(hours), and "m"(minutes).

This time must be less than 597 hours.

redis2_send_timeout
syntax: *redis2_send_timeout <time>*

default: *60s*

context: *http, server, location*

The timeout for sending TCP requests to the redis server, in seconds
by default.

It's wise to always explicitly specify the time unit to avoid confusion.
Time units supported are "s"(seconds), "ms"(milliseconds), "y"(years),
"M"(months), "w"(weeks), "d"(days), "h"(hours), and "m"(minutes).

This time must be less than 597 hours.

redis2_read_timeout
syntax: *redis2_read_timeout <time>*

default: *60s*

context: *http, server, location*

The timeout for reading TCP responses from the redis server, in
seconds by default.

It's wise to always explicitly specify the time unit to avoid confusion.
Time units supported are "s"(seconds), "ms"(milliseconds), "y"(years),
"M"(months), "w"(weeks), "d"(days), "h"(hours), and "m"(minutes).

This time must be less than 597 hours.

redis2_buffer_size

Expand Down

0 comments on commit ad2e7c3

Please sign in to comment.