mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-07 06:43:41 +08:00
feat: only update midjourney task on master node
This commit is contained in:
@@ -19,6 +19,9 @@ import (
|
||||
)
|
||||
|
||||
func UpdateMidjourneyTaskBulk() {
|
||||
if !common.IsMasterNode {
|
||||
return
|
||||
}
|
||||
//imageModel := "midjourney"
|
||||
ctx := context.TODO()
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user