[#1745] writecache: Actualize docs

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-09-01 09:14:47 +03:00 committed by fyrchik
parent e9c6ee2623
commit 9e41e85295
2 changed files with 8 additions and 19 deletions

View file

@ -185,9 +185,7 @@ func (c *cache) flushBigObjects() {
}
}
// flushWorker runs in a separate goroutine and write objects to the main storage.
// If flushFirst is true, flushing objects from cache database takes priority over
// putting new objects.
// flushWorker writes objects to the main storage.
func (c *cache) flushWorker(_ int) {
defer c.wg.Done()