Update frosty, add migration
This commit is contained in:
parent
7ad6f581c2
commit
680cc429d6
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ requires "packedjson#7198cc8"
|
||||||
requires "supersnappy#1.1.5"
|
requires "supersnappy#1.1.5"
|
||||||
requires "redpool#57aeb25"
|
requires "redpool#57aeb25"
|
||||||
requires "https://github.com/zedeus/redis#94bcbf1"
|
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
|
# Tasks
|
||||||
|
|
|
@ -33,7 +33,7 @@ proc initRedisPool*(cfg: Config) {.async.} =
|
||||||
host=cfg.redisHost, port=cfg.redisPort)
|
host=cfg.redisHost, port=cfg.redisPort)
|
||||||
|
|
||||||
await migrate("snappyRss", "rss:*")
|
await migrate("snappyRss", "rss:*")
|
||||||
await migrate("frosty", "*")
|
await migrate("newFrosty", "*")
|
||||||
|
|
||||||
except OSError:
|
except OSError:
|
||||||
stdout.write "Failed to connect to Redis.\n"
|
stdout.write "Failed to connect to Redis.\n"
|
||||||
|
|
Loading…
Reference in a new issue