Commit 6b91f854 by 1808837298@qq.com

feat: only update midjourney task on master node

parent 3085e512
...@@ -19,6 +19,9 @@ import ( ...@@ -19,6 +19,9 @@ import (
) )
func UpdateMidjourneyTaskBulk() { func UpdateMidjourneyTaskBulk() {
if !common.IsMasterNode {
return
}
//imageModel := "midjourney" //imageModel := "midjourney"
ctx := context.TODO() ctx := context.TODO()
for { for {
......
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 sign in to comment