Skip to content

Commit

Permalink
Merge pull request #1 from san983/sirwolfgang/main
Browse files Browse the repository at this point in the history
Spec fix + Update README.md
  • Loading branch information
sirwolfgang authored Feb 9, 2023
2 parents ae1c4ad + 584a67b commit 5c251cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is an implementation of a proposed [distributed lock algorithm with Redis](

## Compatibility

Redlock works with Redis versions 2.6 or later.
Redlock works with Redis versions 6.0 or later.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion spec/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def redis.with
redlock = Redlock::Client.new(servers)

redlock_servers = redlock.instance_variable_get(:@servers).map do |s|
s.instance_variable_get(:@redis).connection[:host]
s.instance_variable_get(:@redis).config.host
end

expect(redlock_servers).to match_array([redis1_host, redis2_host])
Expand Down

0 comments on commit 5c251cf

Please sign in to comment.