Skip to content

Commit

Permalink
Merge b3df038 into 1821bae
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolai-b committed Nov 14, 2019
2 parents 1821bae + b3df038 commit 87c866a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/redlock/client.rb
Expand Up @@ -118,6 +118,8 @@ def initialize(connection)
else
@redis = Redis.new(connection)
end

load_scripts
end

def lock(resource, val, ttl, allow_new_lock)
Expand Down

0 comments on commit 87c866a

Please sign in to comment.