Fix CLI state option.

This commit is contained in:
Naoki Kosaka 2019-07-28 21:23:11 +09:00
parent 02683a8f54
commit 72d3c82867

View File

@ -58,7 +58,7 @@ func initConfig() {
panic(err) panic(err)
} }
redisClient := redis.NewClient(redisOption) redisClient := redis.NewClient(redisOption)
relayState = state.NewState(redisClient, true) relayState = state.NewState(redisClient, false)
var machineryConfig = &config.Config{ var machineryConfig = &config.Config{
Broker: viper.GetString("redis_url"), Broker: viper.GetString("redis_url"),
DefaultQueue: "relay", DefaultQueue: "relay",