feat: only update midjourney task on master node
This commit is contained in:
1 parent
3085e512cd
commit
6b91f85400
1 file changed
+3
@@ -19,6 +19,9 @@ import (
|
||||
)
|
||||
|
||||
func UpdateMidjourneyTaskBulk() {
|
||||
if !common.IsMasterNode {
|
||||
return
|
||||
}
|
||||
//imageModel := "midjourney"
|
||||
ctx := context.TODO()
|
||||
for {
|
||||
|
||||
Reference in new issue
Block a user