swarm/storage: remove log for evict outgoing request

This commit is contained in:
Anton Evangelatov 2018-04-25 16:37:40 +02:00
parent cda956ab20
commit 4df52e4167

View file

@ -21,7 +21,6 @@ package storage
import (
"sync"
"github.com/ethereum/go-ethereum/log"
lru "github.com/hashicorp/golang-lru"
)
@ -55,7 +54,8 @@ func NewMemStore(params *StoreParams, _ *LDBStore) (m *MemStore) {
}
requestEvicted := func(key interface{}, value interface{}) {
log.Error("evict called on outgoing request")
// temporary remove of the error log, until we figure out the problem, as it is too spamy
//log.Error("evict called on outgoing request")
}
r, err := lru.NewWithEvict(int(params.ChunkRequestsCacheCapacity), requestEvicted)
if err != nil {