Skip to content

Commit

Permalink
Merge pull request #232 from mreiferson/nanotime_232
Browse files Browse the repository at this point in the history
nsqd: message timestamps should be nano
  • Loading branch information
jehiah committed Jul 24, 2013
2 parents af12ca3 + d102582 commit 2da5426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsq/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func NewMessage(id MessageID, body []byte) *Message {
return &Message{
Id: id,
Body: body,
Timestamp: time.Now().Unix(),
Timestamp: time.Now().UnixNano(),
}
}

Expand Down

0 comments on commit 2da5426

Please sign in to comment.