2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00

Explicitly avoid all readonly protection and scoping

This commit is contained in:
Sam 2017-10-25 13:31:44 +11:00
parent 7ca8853861
commit 0d816302e2
2 changed files with 10 additions and 1 deletions

View file

@ -34,6 +34,8 @@ describe ApplicationRequest do
# flush will be deferred no error raised
inc(:http_total, autoflush: 3)
ApplicationRequest.write_cache!
$redis.slaveof("no", "one")
inc(:http_total, autoflush: 3)