mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-26 20:06:37 +08:00
feat: only update midjourney task on master node
(cherry picked from commit 4eb6217bc0
)
This commit is contained in:
parent
cf12907b07
commit
b173e1e4ce
@ -19,6 +19,9 @@ import (
|
||||
)
|
||||
|
||||
func UpdateMidjourneyTaskBulk() {
|
||||
if !common.IsMasterNode {
|
||||
return
|
||||
}
|
||||
//imageModel := "midjourney"
|
||||
ctx := context.TODO()
|
||||
for {
|
||||
|
Loading…
Reference in New Issue
Block a user