Skip to content

Commit

Permalink
Code: rubocop -A
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Jun 29, 2024
1 parent acc52db commit 053714a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/app/controllers/sonolus/asset_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ def generate

50.times do
if FileResource.exists?(chart_id: chart.id, kind: type) ||
$redis.with { |conn|
$redis.with do |conn|
conn.get("sonolus:generate:#{chart.id}:#{type}").nil?
}
end
break
end

Expand Down

0 comments on commit 053714a

Please sign in to comment.