mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 16:06:38 +08:00
feat: only update midjourney task on master node
This commit is contained in:
parent
eb79880502
commit
4eb6217bc0
@ -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