diff --git a/swarm/storage/localstore/localstore.go b/swarm/storage/localstore/localstore.go index 6e834f4c5b..f92a9c1f2a 100644 --- a/swarm/storage/localstore/localstore.go +++ b/swarm/storage/localstore/localstore.go @@ -372,7 +372,7 @@ func (db *DB) Close() (err error) { // wait for gc worker and gc size write workers to // return before closing the shed - timeout := time.After(10 * time.Second) + timeout := time.After(5 * time.Second) select { case <-db.collectGarbageWorkerDone: case <-timeout: