1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 09:34:03 +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 ( import (
"context" "context"
"errors" "errors"
"sync"
"time" "time"
keystore "github.com/ipfs/go-ipfs/keystore" keystore "github.com/ipfs/go-ipfs/keystore"
@ -41,9 +40,6 @@ type Republisher struct {
// how long records that are republished should be valid for // how long records that are republished should be valid for
RecordLifetime time.Duration RecordLifetime time.Duration
entrylock sync.Mutex
entries map[peer.ID]struct{}
} }
// NewRepublisher creates a new Republisher // NewRepublisher creates a new Republisher