aio-libs/aiocache

SimpleMemoryBackend - set max size

Open

#498 aperta il 15 giu 2020

Vedi su GitHub
 (15 commenti) (12 reazioni) (0 assegnatari)Python (177 fork)auto 404
featuregood first issue

Metriche repository

Star
 (1432 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

When using SimpleMemoryBackend, should be important set the max size of internal dict

an idea is use an algorithm to select what to do when dict is "full", remove last element, first, random, rlu ...

Guida contributor