repub: remove unused field
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
Kevin Atkinson committed
Jun 10, 2017 at 01:55 UTC
1fe6e18d441bf319b39bc8798f642590554c964e
1 file changed
-4
namesys/republisher/repub.go
-4
@@ -3,7 +3,6 @@ package republisher
3
import (
4
"context"
5
"errors"
6
- "sync"
6
"time"
7
8
keystore "github.com/ipfs/go-ipfs/keystore"
@@ -41,9 +40,6 @@ type Republisher struct {
40
41
// how long records that are republished should be valid for
42
RecordLifetime time.Duration
44
-
45
- entrylock sync.Mutex
46
- entries map[peer.ID]struct{}
43
}
44
45
// NewRepublisher creates a new Republisher