1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 01:12:24 +08:00

repub: remove unused field

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
This commit is contained in:
Kevin Atkinson
2017-06-10 01:55:04 -04:00
parent d674dd7e1f
commit 1fe6e18d44

View File

@ -3,7 +3,6 @@ package republisher
import (
"context"
"errors"
"sync"
"time"
keystore "github.com/ipfs/go-ipfs/keystore"
@ -41,9 +40,6 @@ type Republisher struct {
// how long records that are republished should be valid for
RecordLifetime time.Duration
entrylock sync.Mutex
entries map[peer.ID]struct{}
}
// NewRepublisher creates a new Republisher