mirror of https://github.com/tidwall/tile38.git
clear expires on reset, #258
This commit is contained in:
parent
e1fe83c54c
commit
c62975b505
|
@ -598,6 +598,10 @@ func randomKey(n int) string {
|
||||||
func (c *Controller) reset() {
|
func (c *Controller) reset() {
|
||||||
c.aofsz = 0
|
c.aofsz = 0
|
||||||
c.cols = btree.New(16, 0)
|
c.cols = btree.New(16, 0)
|
||||||
|
c.exlistmu.Lock()
|
||||||
|
c.exlist = nil
|
||||||
|
c.exlistmu.Unlock()
|
||||||
|
c.expires = make(map[string]map[string]time.Time)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Controller) command(
|
func (c *Controller) command(
|
||||||
|
|
Loading…
Reference in New Issue