Parcourir la source

Update frosty, add migration

Zed il y a 5 ans
Parent
commit
680cc429d6
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      nitter.nimble
  2. 1 1
      src/redis_cache.nim

+ 1 - 1
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

+ 1 - 1
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"