aio-libs/aiocache

SimpleMemoryBackend - set max size

Open

#498 opened on 2020年6月15日

GitHub で見る
 (15 comments) (12 reactions) (0 assignees)Python (177 forks)auto 404
featuregood first issue

Repository metrics

Stars
 (1,432 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド