mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Revert "FIX: Don't clear active connections in defer queue."
This reverts commit c9feadf9ec
.
This commit is contained in:
parent
df24c51c6f
commit
7eff64773c
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ module Scheduler
|
|||
end
|
||||
rescue => ex
|
||||
Discourse.handle_job_exception(ex, message: "Processing deferred code queue")
|
||||
ensure
|
||||
ActiveRecord::Base.connection_handler.clear_active_connections!
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue