mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
DEV: Fix rubocop issues (#14715)
This commit is contained in:
2
script/benchmarks/cache/bench.rb
vendored
2
script/benchmarks/cache/bench.rb
vendored
@ -46,7 +46,7 @@ Benchmark.ips do |x|
|
||||
|
||||
x.report("redis get string marshal") do |times|
|
||||
while times > 0
|
||||
Marshal.load(Discourse.redis.get("test_keym"))
|
||||
Marshal.load(Discourse.redis.get("test_keym")) # rubocop:disable Security/MarshalLoad
|
||||
times -= 1
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user