feat: only update task on master node

This commit is contained in:
CalciumIon
2024-06-26 17:23:03 +08:00
parent 11be36dafd
commit cadd8aa622
3 changed files with 1798 additions and 1506 deletions

View File

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