forked from x/icebergs
fix grow
This commit is contained in:
parent
59dc668894
commit
d2ba418f18
1
type.go
1
type.go
@ -1062,6 +1062,7 @@ func (m *Message) Grow(key string, chain interface{}, data interface{}) int {
|
|||||||
m.Log(LOG_INFO, "%s.%v save %s offset %v+%v", key, chain, name, offset, count)
|
m.Log(LOG_INFO, "%s.%v save %s offset %v+%v", key, chain, name, offset, count)
|
||||||
meta["offset"] = offset + count
|
meta["offset"] = offset + count
|
||||||
list = list[:least]
|
list = list[:least]
|
||||||
|
cache[kit.MDB_LIST] = list
|
||||||
w.Flush()
|
w.Flush()
|
||||||
}
|
}
|
||||||
return id
|
return id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user