Merge pull request #28 from ChandravatiSG/db_connection_pool_fix

#27 Fixed DB connection pool issue.
This commit is contained in:
Dzmitry Plashchynski committed 2015-06-17 15:53:41 +03:00
commit f76dff32e4
1 file changed
+1
+1
View File
@@ -42,6 +42,7 @@ module Crono
@semaphore.synchronize do
update_model
clear_job_log
ActiveRecord::Base.clear_active_connections!
end
end