Skip to content

Commit

Permalink
Merge pull request #46 from Sage/fix_redlock_compat
Browse files Browse the repository at this point in the history
Fix script manager lock key
  • Loading branch information
guille-sage authored Sep 29, 2023
2 parents 96ff7c6 + eaf97fa commit 25ced0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mysql_framework/scripts/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def initialize(mysql_connector)
end

def execute
lock_manager.with_lock(key: self.class) do
lock_manager.with_lock(key: self.class.name) do
initialize_script_history

executed_scripts = retrieve_executed_scripts
Expand Down
2 changes: 1 addition & 1 deletion lib/mysql_framework/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module MysqlFramework
VERSION = '2.1.7'
VERSION = '2.1.8'
end

0 comments on commit 25ced0a

Please sign in to comment.