Skip to content

Commit

Permalink
Merge pull request #531 from Shopify/fix-offset-expiry
Browse files Browse the repository at this point in the history
Fix offset-manager expiry timestamps to 'now'
  • Loading branch information
wvanbergen committed Sep 1, 2015
2 parents 9822cf0 + e4cf5d4 commit 60a3ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion offset_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ func (bom *brokerOffsetManager) constructRequest() *OffsetCommitRequest {
for s := range bom.subscriptions {
s.lock.Lock()
if s.dirty {
r.AddBlock(s.topic, s.partition, s.offset, 0, s.metadata)
r.AddBlock(s.topic, s.partition, s.offset, ReceiveTime, s.metadata)
}
s.lock.Unlock()
}
Expand Down

0 comments on commit 60a3ef1

Please sign in to comment.