mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-24 01:38:37 +02:00
#27 Fixed DB connection pool issue.
This commit is contained in:
@@ -42,6 +42,7 @@ module Crono
|
|||||||
@semaphore.synchronize do
|
@semaphore.synchronize do
|
||||||
update_model
|
update_model
|
||||||
clear_job_log
|
clear_job_log
|
||||||
|
ActiveRecord::Base.clear_active_connections!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user