Skip to content

Commit 2ba7b2e

Browse files
committed
Add synchrony as driver option
1 parent 15aea3e commit 2ba7b2e

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
@@ -37,7 +37,7 @@ def self.current=(redis)
3737
# @option options [Float] :connect_timeout (same as timeout) timeout for initial connect in seconds
3838
# @option options [String] :password Password to authenticate against server
3939
# @option options [Fixnum] :db (0) Database to select after initial connect
40-
# @option options [Symbol] :driver Driver to use, currently supported: `:ruby`, `:hiredis`
40+
# @option options [Symbol] :driver Driver to use, currently supported: `:ruby`, `:hiredis`, `:synchrony`
4141
# @option options [String] :id ID for the client connection, assigns name to current connection by sending `CLIENT SETNAME`
4242
# @option options [Hash, Fixnum] :tcp_keepalive Keepalive values, if Fixnum `intvl` and `probe` are calculated based on the value, if Hash `time`, `intvl` and `probes` can be specified as a Fixnum
4343
# @option options [Fixnum] :reconnect_attempts Number of attempts trying to connect

0 commit comments

Comments
 (0)