aboutsummaryrefslogtreecommitdiff
path: root/src/Cache.py
Commit message (Collapse)AuthorAgeFilesLines
* chance src/Cache.py from time.monotonic() to time.time()Gravatar jesopo2019-11-191-4/+4
|
* refactor anything that effects event poll timeout in to PollHook objectsGravatar jesopo2019-10-081-3/+4
|
* cache calculated "next expiration" timeGravatar jesopo2019-09-201-1/+12
|
* change Cache.py to be key:valueGravatar jesopo2019-09-021-25/+27
|
* Don't needlessly call time.monotonic() when checking cache expirationsGravatar jesopo2019-06-221-1/+2
|
* Fix/refactor issues brought up by type hint lintingGravatar jesopo2018-10-301-4/+4
|
* Add type/return hints throughout src/ and, in doing so, fix some cyclicalGravatar jesopo2018-10-301-9/+9
| | | | references.
* Cache._items is a {id: [item, timeout]} dict, not {id: item}Gravatar jesopo2018-09-301-1/+1
|
* Actually get "item" when a cached item expiresGravatar jesopo2018-09-291-0/+1
|
* Add src/Cache.py, use it in modules/coins.pyGravatar jesopo2018-09-291-0/+50