mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
DEV: Change use of Redis flushall
to flushdb
.
FLUSHALL removes all keys from all databases. Instead we only want to remove keys from the current Redis database.
This commit is contained in:
@ -472,7 +472,7 @@ describe DiscourseNarrativeBot::TrackSelector do
|
||||
let(:post) { Fabricate(:post, topic: topic) }
|
||||
|
||||
after do
|
||||
Discourse.redis.flushall
|
||||
Discourse.redis.flushdb
|
||||
end
|
||||
|
||||
describe 'when random reply massage has been displayed in the last 6 hours' do
|
||||
|
Reference in New Issue
Block a user