Jelajahi Sumber

Update frosty, add migration

Zed 5 tahun lalu
induk
melakukan
680cc429d6
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  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"