should fix #239
uses TTLCache now everywhere, and cache ignores the db parameter now, using the key parameter of chachetoools.cache similar to what was explained here:
https://stackoverflow.com/a/32655449
In case db was the only parameter, I use hashkey(None) which is a legal call, but if it actually works, I have not tested locally.
should fix #239 uses TTLCache now everywhere, and cache ignores the
db
parameter now, using thekey
parameter ofchachetoools.cache
similar to what was explained here: https://stackoverflow.com/a/32655449In case
db
was the only parameter, I usehashkey(None)
which is a legal call, but if it actually works, I have not tested locally.What to you think? @MaxNoe