aio-libs/aiocache

SimpleMemoryBackend - set max size

Open

#498 创建于 2020年6月15日

在 GitHub 查看
 (15 评论) (12 反应) (0 负责人)Python (177 fork)auto 404
featuregood first issue

仓库指标

Star
 (1,432 star)
PR 合并指标
 (30 天内没有已合并 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 ...

贡献者指南