mirror of
https://github.com/plashchynski/crono.git
synced 2026-05-17 13:36:58 +02:00
Merge pull request #28 from ChandravatiSG/db_connection_pool_fix
#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