Skip to content

Commit

Permalink
CCOL-2039: Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Pereira committed Dec 1, 2023
1 parent f2386fa commit 663c21b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/deimos/active_record_consume/batch_consumption.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ def compact_messages(batch)
def uncompacted_update(messages)
valid_records = []
invalid_records = []
BatchSlicer.
slice(messages).each do |slice|
BatchSlicer.slice(messages).each do |slice|
valid, invalid = update_database(slice)
valid_records.push(*valid) if valid.any?
invalid_records.push(*invalid) if invalid.any?
Expand Down

0 comments on commit 663c21b

Please sign in to comment.