Files
deb-python-taskflow/taskflow/persistence/backends/impl_dir.py
Joshua Harlow 33e9ccc425 Use a lru cache to limit the size of the internal file cache
Instead of having an unbounded internal file cache which will
eventually absorb all memory of the running/containing python
process have the size of that cache be limited by an optionally
provided size (and have eviction be based on how recent a cached
entry was used).

Fixes bug 1458248

Change-Id: I5e59efc4edd51b05cfb1e67d3e7014e378e352aa
2015-06-10 11:02:25 -07:00

5.6 KiB