mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
Merge pull request #435 from ethersphere/remove_error_log
swarm/storage: remove log for evict outgoing request
This commit is contained in:
commit
eefece8a1c
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue