From 680cc429d6f1dfcc2ae07b57e91505c209fc5642 Mon Sep 17 00:00:00 2001 From: Zed Date: Sun, 15 Nov 2020 20:18:13 +0100 Subject: [PATCH] Update frosty, add migration --- nitter.nimble | 2 +- src/redis_cache.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nitter.nimble b/nitter.nimble index 12ff025..5c6f037 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.3.1" +requires "https://github.com/disruptek/frosty#0.4.1" # Tasks diff --git a/src/redis_cache.nim b/src/redis_cache.nim index 2463b49..61813c7 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("frosty", "*") + await migrate("newFrosty", "*") except OSError: stdout.write "Failed to connect to Redis.\n"