mixpanel-ruby icon indicating copy to clipboard operation
mixpanel-ruby copied to clipboard

Use Array#max for BufferedConsumer @max_length

Open shayonj opened this issue 3 years ago • 0 comments

By using min, we would always get the default MAX_LENGTH, which is 50 if we would want to process more items in buffer. This fix now uses .max, to also align with the variable and constant naming intentions

shayonj avatar Aug 31 '22 16:08 shayonj