Skip to content

Commit

Permalink
Update default timeout docs
Browse files Browse the repository at this point in the history
This pr, redis-rb/redis-client@90d219f#diff-dd62159b97639b7e6aca9f5c209b2ff5a74924bf38699581dcdc5074e2e62bbfL7 set it to 1 second.  It is also documented in the change-logs as being set to 1 second for version 5
  • Loading branch information
afinzel authored Sep 29, 2023
1 parent 8e9183a commit ad0f30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def drivers
# @option options [String] :host ("127.0.0.1") server hostname
# @option options [Integer] :port (6379) server port
# @option options [String] :path path to server socket (overrides host and port)
# @option options [Float] :timeout (5.0) timeout in seconds
# @option options [Float] :timeout (1.0) timeout in seconds
# @option options [Float] :connect_timeout (same as timeout) timeout for initial connect in seconds
# @option options [String] :username Username to authenticate against server
# @option options [String] :password Password to authenticate against server
Expand Down

0 comments on commit ad0f30b

Please sign in to comment.