fix/355-increase-tree-service-client-cache-size #359

Closed
ale64bit wants to merge 156 commits from ale64bit/frostfs-node:fix/355-increase-tree-service-client-cache-size into support/v0.36
Showing only changes of commit 6b6f33ed71 - Show all commits

View file

@ -41,7 +41,10 @@ func (c *cache) runFlushLoop() {
}
c.wg.Add(1)
go c.flushBigObjects(context.TODO())
go func() {
c.flushBigObjects(context.TODO())
c.wg.Done()
}()
c.wg.Add(1)
go func() {
@ -146,8 +149,6 @@ func (c *cache) flushDB() {
}
func (c *cache) flushBigObjects(ctx context.Context) {
defer c.wg.Done()
tick := time.NewTicker(defaultFlushInterval * 10)
for {
select {