This commit is contained in:
Zed
2022-01-02 07:00:44 +01:00
parent 9d117aa15b
commit 9dd7419ecf
3 changed files with 6 additions and 15 deletions

View File

@@ -4,11 +4,12 @@ import redis, redpool, flatty, supersnappy
import types, api
const redisNil = "\0\0"
const
redisNil = "\0\0"
baseCacheTime = 60 * 60
var
pool {.threadvar.}: RedisPool
baseCacheTime = 60 * 60
rssCacheTime: int
listCacheTime*: int