mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
swarm/storage/localstore: fix a typo
This commit is contained in:
parent
c9f51302df
commit
da9bab4a7d
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ func (db *DB) writeGCSizeWorker() {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("localstore write gc size", "err", err)
|
log.Error("localstore write gc size", "err", err)
|
||||||
}
|
}
|
||||||
// Wait some time before writting gc size in the next
|
// Wait some time before writing gc size in the next
|
||||||
// iteration. This prevents frequent I/O operations.
|
// iteration. This prevents frequent I/O operations.
|
||||||
select {
|
select {
|
||||||
case <-time.After(writeGCSizeDelay):
|
case <-time.After(writeGCSizeDelay):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue