Update frosty, add migration
This commit is contained in:
		
							parent
							
								
									7ad6f581c2
								
							
						
					
					
						commit
						680cc429d6
					
				| 
						 | 
				
			
			@ -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 New Issue