mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-11 21:10:24 +01:00
Call clear_active_connections! on the connection handler
Active Record 7.2 removed the deprecated `ActiveRecord::Base.clear_active_connections!` delegate method.
This commit is contained in:
@@ -47,7 +47,7 @@ module Crono
|
||||
@semaphore.synchronize do
|
||||
update_model
|
||||
clear_job_log
|
||||
ActiveRecord::Base.clear_active_connections!
|
||||
ActiveRecord::Base.connection_handler.clear_active_connections!
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user