A platform for community discussion. Free, open, simple.
Remove unused variable.
Guo Xiang Tanc34100d1e726
diff --git a/lib/discourse.rb b/lib/discourse.rbindex 381ab5e588a..0822630eead 100644--- a/lib/discourse.rb+++ b/lib/discourse.rb@@ -499,9 +499,7 @@ module Discoursepools = []ObjectSpace.each_object(ActiveRecord::ConnectionAdapters::ConnectionPool) { |pool| pools << pool }- i = 0pools.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