mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-04 23:16:37 +08:00
fix(tasks): canonicalize triggered_by so execution labels resolve
Unknown values such as http and inproc_cron made the admin UI call t(undefined). Dispatch sites now write system/manual/retry/schedule, the list API maps legacy rows, and the table skips missing i18n keys.
This commit is contained in:
@@ -76,7 +76,7 @@ func (q *InprocQueue) Enqueue(ctx context.Context, taskType string, payload []by
|
||||
}
|
||||
|
||||
if source == "" {
|
||||
source = "manual"
|
||||
source = contracts.TaskTriggerManual
|
||||
}
|
||||
idType := td.Type
|
||||
if idType == "" {
|
||||
|
||||
Reference in New Issue
Block a user