老师你好,我在这章节,我的工作流无法启动,报错了,因为我的redis是有密码的,但是
func main() {
fs := goflow.FlowService{
Port: 8080,
RedisURL: "192.168.48.129:6379",
WorkerConcurrency: 5,
}
err := fs.Register("add-flow", MyFlow)
if err != nil {
return
}
if err := fs.Start(); err != nil {
panic(err)
}
}
我的这段代码中,RedisPassword会报错,然后如果没有的话,就会发生panic
panic: failed to initialize the StateStore, NOAUTH Authentication required.
这是为什么啊