agoragames / haigha

AMQP Python client
BSD 3-Clause "New" or "Revised" License
160 stars 41 forks source link

Failed to parse timestamp in frame reader #87

Closed lipixun closed 8 years ago

lipixun commented 9 years ago

The timestamp is 64bit in RabbitMQ timestamp, there will be an exception when trying to parse the timestamp by datetime.utcfromtimestamp

We have to divide the value by 1e6 instead.

vitaly-krugl commented 8 years ago

I posted a question about this issue in https://groups.google.com/forum/#!topic/rabbitmq-users/_4ZRm8vX73g.

Also filed https://github.com/rabbitmq/rabbitmq-event-exchange/issues/8

awestendorf commented 8 years ago

Closing, see discussion in #88