mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 18:41:07 +08:00
DEV: Apply syntax_tree formatting to lib/*
This commit is contained in:
@ -98,9 +98,7 @@ module BackupRestore
|
||||
|
||||
def flush_redis
|
||||
redis = Discourse.redis
|
||||
redis.scan_each(match: "*") do |key|
|
||||
redis.del(key) unless key == SidekiqPauser::PAUSED_KEY
|
||||
end
|
||||
redis.scan_each(match: "*") { |key| redis.del(key) unless key == SidekiqPauser::PAUSED_KEY }
|
||||
end
|
||||
|
||||
def clear_sidekiq_queues
|
||||
|
Reference in New Issue
Block a user