mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 14:38:17 +08:00
This reverts commit 52035dc665
.
This commit is contained in:
parent
52035dc665
commit
93af139a76
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user