mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 01:37:27 +00: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