Skip to content

Commit

Permalink
meh
Browse files Browse the repository at this point in the history
  • Loading branch information
mreiferson committed Dec 19, 2015
1 parent d20e1b8 commit af55c2a
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 af55c2a

Please sign in to comment.