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:
@ -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
|
||||||
|
Reference in New Issue
Block a user