提交 1fe6e18d 作者: Kevin Atkinson

repub: remove unused field

License: MIT
Signed-off-by: 's avatarKevin Atkinson <k@kevina.org>
上级 d674dd7e
...@@ -3,7 +3,6 @@ package republisher ...@@ -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 { ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论