[#479] Fix writecache fstree flush premature ctx cancel #518

Merged
fyrchik merged 1 commit from ale64bit/frostfs-node:fix/479-wc-fstree-flush into master 2023-07-15 09:55:36 +00:00

View file

@ -37,7 +37,6 @@ const (
// runFlushLoop starts background workers which periodically flush objects to the blobstor.
func (c *cache) runFlushLoop() {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
ch := c.closeCh
c.wg.Add(1)