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:
parent
7ca8853861
commit
0d816302e2
2 changed files with 10 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue