From ebecd055eb45281d731a9a106ba75858aa1bd68c Mon Sep 17 00:00:00 2001 From: Janos Guljas Date: Tue, 29 Jan 2019 12:12:15 +0100 Subject: [PATCH] swarm/storage/localstore: update writeGCSize comment --- swarm/storage/localstore/gc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm/storage/localstore/gc.go b/swarm/storage/localstore/gc.go index 4bf524d28b..05a4b5ec17 100644 --- a/swarm/storage/localstore/gc.go +++ b/swarm/storage/localstore/gc.go @@ -199,8 +199,8 @@ func (db *DB) writeGCSizeWorker() { // writeGCSize stores the number of items in gcIndex. // It removes all hashes from gcUncountedHashesIndex -// not to include them on the next database initialization -// when gcSize is counted. +// not to include them on the next DB initialization +// (New function) when gcSize is counted. func (db *DB) writeGCSize(gcSize int64) (err error) { const maxBatchSize = 1000