diff options
Diffstat (limited to 'swarm/storage/feed/handler.go')
-rw-r--r-- | swarm/storage/feed/handler.go | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/swarm/storage/feed/handler.go b/swarm/storage/feed/handler.go index 33542b6e4..063d3e92a 100644 --- a/swarm/storage/feed/handler.go +++ b/swarm/storage/feed/handler.go @@ -23,7 +23,6 @@ import ( "context" "fmt" "sync" - "time" "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup" @@ -32,12 +31,10 @@ import ( ) type Handler struct { - chunkStore *storage.NetStore - HashSize int - cache map[uint64]*cacheEntry - cacheLock sync.RWMutex - storeTimeout time.Duration - queryMaxPeriods uint32 + chunkStore *storage.NetStore + HashSize int + cache map[uint64]*cacheEntry + cacheLock sync.RWMutex } // HandlerParams pass parameters to the Handler constructor NewHandler |