fix: address Jev judge review feedback

This commit is contained in:
RuoJi6 committed 2026-10-31 18:16:49 +08:00
1 parent b0e25d766f
commit 9a1599b96e
17 files changed
+608 -113

No files matched your search

+3
View File
@@ -477,6 +477,9 @@ func (m *Manager) SetWorkerPools(pools []WorkerPool, legacyWorkers ...int) error
if profile == nil {
return fmt.Errorf("worker_pools 中 profile_id %d 不存在", pool.ProfileID)
}
if profile.Format == "jev" {
return pgdb.ErrJevProfileJudgeOnly
}
}
}
b, err := json.Marshal(pools)