feat: only update midjourney task on master node

(cherry picked from commit 4eb6217bc0)
This commit is contained in:
1808837298@qq.com 2024-06-15 01:10:16 +08:00 committed by linzhaoming
parent cf12907b07
commit b173e1e4ce

View File

@ -19,6 +19,9 @@ import (
)
func UpdateMidjourneyTaskBulk() {
if !common.IsMasterNode {
return
}
//imageModel := "midjourney"
ctx := context.TODO()
for {