jesopo
|
4c02c7c86a
|
refactor anything that effects event poll timeout in to PollHook objects
|
2019-10-08 12:20:08 +01:00 |
|
jesopo
|
d609bfb16d
|
cache calculated "next expiration" time
|
2019-09-20 11:47:57 +01:00 |
|
jesopo
|
7959f1ab88
|
change Cache.py to be key:value
|
2019-09-02 14:07:26 +01:00 |
|
jesopo
|
01bad3a76e
|
Don't needlessly call time.monotonic() when checking cache expirations
|
2019-06-22 23:30:15 +01:00 |
|
jesopo
|
b543e31cd2
|
Fix/refactor issues brought up by type hint linting
|
2018-10-30 17:49:35 +00:00 |
|
jesopo
|
e07553c362
|
Add type/return hints throughout src/ and, in doing so, fix some cyclical
references.
|
2018-10-30 14:58:48 +00:00 |
|
jesopo
|
1f2c2b719b
|
Cache._items is a {id: [item, timeout]} dict, not {id: item}
|
2018-09-30 18:00:23 +01:00 |
|
jesopo
|
fe981f9911
|
Actually get "item" when a cached item expires
|
2018-09-29 13:37:19 +01:00 |
|
jesopo
|
47ec11bbef
|
Add src/Cache.py, use it in modules/coins.py
|
2018-09-29 12:53:39 +01:00 |
|