Skip to content

Commit

Permalink
meh
Browse files Browse the repository at this point in the history
  • Loading branch information
mreiferson committed Apr 16, 2016
1 parent 7522107 commit 66d1a7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nsqd/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ func (c *Channel) Empty() error {
}

finish:
// TODO: (WAL) reset cursor
idx, err := c.cursor.Reset()
if err != nil {
return err
}
c.rs.AddRange(Range{Low: c.rs.Ranges[0].Low, High: int64(idx)})
return nil
}

Expand Down

0 comments on commit 66d1a7f

Please sign in to comment.