1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-15 16:52:48 -05:00

Add periodic cache cleaner prevent slowdowns

This commit is contained in:
Zed
2020-03-09 00:17:42 +01:00
parent 211cd5964a
commit 8c50692299
3 changed files with 22 additions and 7 deletions

View File

@@ -52,6 +52,11 @@ dbTypes:
parseIt: parseEnum[VideoType](it.s)
formatIt: dbValue($it)
.}: VideoType
updated* {.
dbType: "INTEGER"
parseIt: it.i.fromUnix()
formatIt: dbValue(getTime().toUnix())
.}: Time
genPrefsType()