Commit 2926c874 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Don't launch Redis when config is nil

parent b7fe079e
......@@ -133,9 +133,11 @@ func main() {
cfg.Redis = cfgFromFile.Redis
if cfg.Redis != nil {
redis.Configure(cfg.Redis, redis.DefaultDialFunc)
go redis.Process()
}
}
up := wrapRaven(upstream.NewUpstream(cfg))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment