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

Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
fix/evacuate_test
Alejandro Lopez 2023-07-13 12:13:53 +03:00
parent 8a9fc2c372
commit 11027945d8
1 changed files with 0 additions and 1 deletions

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)