mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-08 23:23:42 +08:00
chore: UpdateMidjourneyTaskBulk with SafeGoroutine
This commit is contained in:
@@ -148,12 +148,6 @@ import (
|
||||
*/
|
||||
|
||||
func UpdateMidjourneyTaskBulk() {
|
||||
//revocer
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
log.Printf("UpdateMidjourneyTask panic: %v", err)
|
||||
}
|
||||
}()
|
||||
//imageModel := "midjourney"
|
||||
ctx := context.TODO()
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user