DesignStore.prune#
- DesignStore.prune()[source]#
Remove designs, least recently used first; return their identifiers.
A design is used when it is committed or found again. Designs unused for longer than
max_ageseconds are removed, then the least recently used until the store holds at mostmax_bytes. A design used within the last day is kept whatever the limits, since a series may still be playing or reconstructing it. Stages older than an hour, left by a process that ended mid-design, are removed as well.