Skip to content

Commit

Permalink
do this
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Feb 18, 2024
1 parent 73dc772 commit 0ff94ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/willow/willow.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ func (w *Willow) washer(now time.Time) {
continue
}

go file.Flush(buf.FlusOpts{Type: "exp", FollowUp: func() { w.Delete(path) }})
go file.Flush(buf.FlusOpts{Type: "exp"})
delete(w.memory, path)
}
}

0 comments on commit 0ff94ea

Please sign in to comment.