allegro / allegro/bigcache

The callback function OnRemoveWithReason suddenly stops being called, even though there is new data being written

Aperta
#411 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Go
Stelle
8.2k
Fork
614
Merge medio
6g 19h
PR unite (30g)
2

Descrizione

bigCf := bigcache.DefaultConfig(5 * time.Second)
bigCf.OnRemoveWithReason = hdl
bigCf.HardMaxCacheSize = size

"I'm certain I configured OnRemoveWithReason and it had been triggering callbacks continuously, but for some reason it suddenly stopped. Monitoring confirms data is still being written and the process hasn't panicked."

**Environment:**
- Version (git sha or release): v3
- OS (e.g. from `/etc/os-release` or winver.exe): ubuntu 16.04
- go version: 1.20

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.