mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-05 02:43:37 +00:00
19 lines
292 B
Python
19 lines
292 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
'''
|
||
|
Single-process in-memory LRU cache.
|
||
|
|
||
|
The shove psuedo-URL for a simple cache is:
|
||
|
|
||
|
simplelru://
|
||
|
'''
|
||
|
|
||
|
from shove import LRUBase
|
||
|
|
||
|
|
||
|
class SimpleLRUCache(LRUBase):
|
||
|
|
||
|
'''In-memory cache that purges based on least recently used item.'''
|
||
|
|
||
|
|
||
|
__all__ = ['SimpleLRUCache']
|