mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 02:56:29 +00:00
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 "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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue