[#479] Fix writecache fstree flush premature ctx cancel #518
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@ const (
|
||||||
// runFlushLoop starts background workers which periodically flush objects to the blobstor.
|
// runFlushLoop starts background workers which periodically flush objects to the blobstor.
|
||||||
func (c *cache) runFlushLoop() {
|
func (c *cache) runFlushLoop() {
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
defer cancel()
|
|
||||||
|
|
||||||
ch := c.closeCh
|
ch := c.closeCh
|
||||||
c.wg.Add(1)
|
c.wg.Add(1)
|
||||||
|
|
Loading…
Reference in a new issue