Skip to content

Commit f7bc08d

Browse files
committed
polish
1 parent 85e88c2 commit f7bc08d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/splitclient-rb/engine/impressions/unique_keys_tracker.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@ def check_keys_and_split_to_bulks(unique)
106106
sub_bulks.each do |sub_bulk|
107107
unique_updated.add({ key: sub_bulk })
108108
end
109+
break
110+
109111
end
110112
unique_updated.add({ key: value })
111113
end
112-
return [unique] if unique_updated == {}
113114

114115
unique_updated
115116
end

0 commit comments

Comments
 (0)