feat: only update task on master node

This commit is contained in:
CalciumIon committed 2024-06-26 17:23:03 +08:00
1 parent 4383b32bef
commit 6c4c9d1c08
3 files changed
+1798 -1506

No files matched your search

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