From c327f4cc061168b0ed31f76db06efed91d3c5ffc Mon Sep 17 00:00:00 2001 From: Zed Date: Sat, 2 Jan 2021 19:27:11 +0100 Subject: [PATCH] Downgrade Frosty again to prevent OOM It works, let's not fuck with it any more than necessary. --- nitter.nimble | 2 +- src/redis_cache.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nitter.nimble b/nitter.nimble index a48ce3c..12ff025 100644 --- a/nitter.nimble +++ b/nitter.nimble @@ -21,7 +21,7 @@ requires "packedjson#7198cc8" requires "supersnappy#1.1.5" requires "redpool#57aeb25" requires "https://github.com/zedeus/redis#94bcbf1" -requires "https://github.com/disruptek/frosty#0.4.3" +requires "https://github.com/disruptek/frosty#0.3.1" # Tasks diff --git a/src/redis_cache.nim b/src/redis_cache.nim index 61813c7..c5cc3d6 100644 --- a/src/redis_cache.nim +++ b/src/redis_cache.nim @@ -33,7 +33,7 @@ proc initRedisPool*(cfg: Config) {.async.} = host=cfg.redisHost, port=cfg.redisPort) await migrate("snappyRss", "rss:*") - await migrate("newFrosty", "*") + await migrate("oldFrosty", "*") except OSError: stdout.write "Failed to connect to Redis.\n"