mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:03:48 +08:00
FIX: Don't clear active connections in defer queue.
This commit is contained in:
parent
34e4c8f573
commit
c9feadf9ec
|
@ -74,8 +74,6 @@ 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…
Reference in New Issue
Block a user