mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
Remove unused variable.
This commit is contained in:
parent
4a4406de8c
commit
c34100d1e7
@ -499,9 +499,7 @@ module Discourse
|
||||
pools = []
|
||||
ObjectSpace.each_object(ActiveRecord::ConnectionAdapters::ConnectionPool) { |pool| pools << pool }
|
||||
|
||||
i = 0
|
||||
pools.each do |pool|
|
||||
i += 1
|
||||
# reap recovers connections that were aborted
|
||||
# eg a thread died or a dev forgot to check it in
|
||||
# flush removes idle connections
|
||||
|
Loading…
Reference in New Issue
Block a user