|
|
@@ -294,7 +294,7 @@ func CloudBrainRestart(ctx *context.Context) { |
|
|
if count >= 1 { |
|
|
if count >= 1 { |
|
|
log.Error("the user already has running or waiting task", ctx.Data["MsgID"]) |
|
|
log.Error("the user already has running or waiting task", ctx.Data["MsgID"]) |
|
|
resultCode = "-1" |
|
|
resultCode = "-1" |
|
|
errorMsg = "the user already has running or waiting task" |
|
|
|
|
|
|
|
|
errorMsg = "you have already a running or waiting task, can not create more" |
|
|
break |
|
|
break |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|