Skip to content

Commit c888c74

Browse files
authored
Merge pull request #1225 from afinzel/master
Update default timeout docs
2 parents 8e9183a + ad0f30b commit c888c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def drivers
4545
# @option options [String] :host ("127.0.0.1") server hostname
4646
# @option options [Integer] :port (6379) server port
4747
# @option options [String] :path path to server socket (overrides host and port)
48-
# @option options [Float] :timeout (5.0) timeout in seconds
48+
# @option options [Float] :timeout (1.0) timeout in seconds
4949
# @option options [Float] :connect_timeout (same as timeout) timeout for initial connect in seconds
5050
# @option options [String] :username Username to authenticate against server
5151
# @option options [String] :password Password to authenticate against server

0 commit comments

Comments
 (0)