Skip to content

Commit

Permalink
Update README.md to follow previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
okkez committed Mar 16, 2017
1 parent 9eb1ec2 commit 469a29e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,11 @@ class BufferOverflowHandler
def flush(messages)
@buffer ||= []
MessagePack::Unpacker.new.feed_each(messages) do |msg|
@buffer << msg
messages.each do |tag, message|
unpacker = MessagePack::Unpacker.new(StringIO.new(message))
unpacker.each do |time, record|
@buffer << [tag, time, record]
end
end
end
end
Expand Down

0 comments on commit 469a29e

Please sign in to comment.