mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
swarm/storage: remove log for evict outgoing request
This commit is contained in:
parent
cda956ab20
commit
4df52e4167
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,6 @@ package storage
|
||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/log"
|
|
||||||
lru "github.com/hashicorp/golang-lru"
|
lru "github.com/hashicorp/golang-lru"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -55,7 +54,8 @@ func NewMemStore(params *StoreParams, _ *LDBStore) (m *MemStore) {
|
||||||
}
|
}
|
||||||
|
|
||||||
requestEvicted := func(key interface{}, value interface{}) {
|
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)
|
r, err := lru.NewWithEvict(int(params.ChunkRequestsCacheCapacity), requestEvicted)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue