aio-libs/aiocache

SimpleMemoryBackend - set max size

Open

#498 aberto em 15 de jun. de 2020

Ver no GitHub
 (15 comments) (12 reactions) (0 assignees)Python (177 forks)auto 404
featuregood first issue

Métricas do repositório

Stars
 (1.432 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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 ...

Guia do colaborador