Navigation Menu

Skip to content

Commit

Permalink
Accept time as float
Browse files Browse the repository at this point in the history
fluent-logger npm may put time as float instead of integer. :<
  • Loading branch information
kou committed Apr 22, 2014
1 parent c23d433 commit 18b9a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/fluent_message_receiver.rb
Expand Up @@ -171,7 +171,7 @@ def feed(data)
entries = MessagePack.unpack(object[1])
when Array # Forward message
entries = object[1]
when Integer # Message message
when Integer, Float # Message message
entries = [[object[1], object[2]]]
else
logger.error("unknown message", :message => object)
Expand Down

0 comments on commit 18b9a57

Please sign in to comment.