Commit Graph

4 Commits

Author SHA1 Message Date
c8477fabaa If redis fails to connect use a mock client to not crash 2022-08-17 00:19:22 +02:00
5b6a2c2651 Linting 2022-03-06 10:27:09 +01:00
943cbe5cb8 Return rejected promise and don't set cache if key or value is null. 2020-04-08 21:57:49 +02:00
f37786aa76 Redis cache script with get and set functions.
This replaces old way of caching to sqlite. Still have same
functionality, so users of old cache functions just need to rename their
import.
2020-02-21 18:11:39 +01:00