allegro / allegro/bigcache

BigCache is logging allocations it should not

Aperta
#363 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Go
Stelle
8.2k
Fork
614
Merge medio
5g 12h
PR unite (30g)
1

Descrizione

**What is the issue you are having?**
I have deployed the version 3.0.2 and I thought this issue: https://github.com/allegro/bigcache/issues/117 meant it was solved.
I have a constant flow of the below messages on my logs.

Can you help me understand how to fix this?

**What is BigCache doing that it shouldn't?**
It should not log this every few milliseconds :
```
2023/06/05 02:37:51 Allocated new queue in 92.911µs; Capacity: 614400
2023/06/05 02:37:50 Allocated new queue in 81.841µs; Capacity: 614400
...
```

**Minimal, Complete, and Verifiable Example**

When asking a question about a problem caused by your code, you will get much better answers if you provide code we can use to reproduce the problem. That code should be...

* ...Minimal – Use as little code as possible that still produces the same problem
* ...Complete – Provide all parts needed to reproduce the problem
* ...Verifiable – Test the code you're about to provide to make sure it reproduces the problem

For more information on how to provide an MCVE, please see the [Stack Overflow documentation](https://stackoverflow.com/help/mcve).

**Environment:**
- Version (git sha or release): NA
- OS (e.g. from `/etc/os-release` or winver.exe): alpine3.15
- go version: golang:1.17.9

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.