feat: only update task on master node
This commit is contained in:
1 parent
4383b32bef
commit
6c4c9d1c08
3 files changed
+1798
-1506
No files matched your search
@@ -19,9 +19,6 @@ import (
|
||||
)
|
||||
|
||||
func UpdateMidjourneyTaskBulk() {
|
||||
if !common.IsMasterNode {
|
||||
return
|
||||
}
|
||||
//imageModel := "midjourney"
|
||||
ctx := context.TODO()
|
||||
for {
|
||||
|
||||
Reference in new issue
Block a user