feat: only update task on master node

This commit is contained in:
CalciumIon
2024-06-26 17:23:03 +08:00
parent 4383b32bef
commit 6c4c9d1c08
3 changed files with 1798 additions and 1506 deletions
-3
View File
@@ -19,9 +19,6 @@ import (
)
func UpdateMidjourneyTaskBulk() {
if !common.IsMasterNode {
return
}
//imageModel := "midjourney"
ctx := context.TODO()
for {