mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
This reverts commit 52035dc665.
This commit is contained in:
@@ -106,6 +106,7 @@ module TestSetup
|
||||
#
|
||||
# Discourse.redis = DiscourseMockRedis.new
|
||||
|
||||
RateLimiter.disable
|
||||
PostActionNotifier.disable
|
||||
SearchIndexer.disable
|
||||
UserActionManager.disable
|
||||
@@ -259,8 +260,6 @@ RSpec.configure do |config|
|
||||
|
||||
unfreeze_time
|
||||
ActionMailer::Base.deliveries.clear
|
||||
RateLimiter.disable
|
||||
RateLimiter.clear_all!
|
||||
|
||||
if ActiveRecord::Base.connection_pool.stat[:busy] > 1
|
||||
raise ActiveRecord::Base.connection_pool.stat.inspect
|
||||
|
||||
Reference in New Issue
Block a user