Directory (file) cache never expires/shrinks
Bug #1458248 reported by
Joshua Harlow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskflow |
Fix Released
|
High
|
Joshua Harlow |
Bug Description
In the file/dir backend there is a cache of all used files (saved in memory), this data is used to avoid re-reading the same flow/atom/
Changed in taskflow: | |
assignee: | nobody → Joshua Harlow (harlowja) |
milestone: | none → next-liberty |
importance: | Undecided → High |
Changed in taskflow: | |
status: | New → In Progress |
Changed in taskflow: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/176104 /git.openstack. org/cgit/ openstack/ taskflow/ commit/ ?id=33e9ccc4256 6f4b666e04c1291 bf01539288ffaf
Committed: https:/
Submitter: Jenkins
Branch: master
commit 33e9ccc42566f4b 666e04c1291bf01 539288ffaf
Author: Joshua Harlow <email address hidden>
Date: Tue Apr 21 12:49:06 2015 -0700
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: I5e59efc4edd51b 05cfb1e67d3e701 4e378e352aa