File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,6 +169,15 @@ const warnings = computed<Warning[]>(() => {
169169 })
170170 }
171171
172+ // 心跳任务异常
173+ if (props .task .heartbeatTaskRunning === false ) {
174+ list .push ({
175+ key: ' heartbeatTask' ,
176+ text: t (' packages_business_task_status_heartbeat_task_abnormal' ),
177+ type: ' warning' ,
178+ })
179+ }
180+
172181 return list
173182})
174183
Original file line number Diff line number Diff line change @@ -682,6 +682,8 @@ export default {
682682 'The current task is being retried. Retry start at: {val}' ,
683683 packages_business_task_status_increment_delay_warning :
684684 'Current max delay is {delay}, exceeding threshold {threshold}' ,
685+ packages_business_task_status_heartbeat_task_abnormal :
686+ 'Heartbeat task is abnormal, please check and restore' ,
685687 packages_business_select_placeholder : 'Please add or select' ,
686688 packages_business_verification_form_youjiantongzhi : 'Mail Notification' ,
687689 packages_business_verification_form_xitongtongzhi : 'System Notification' ,
Original file line number Diff line number Diff line change @@ -615,6 +615,8 @@ export default {
615615 '当前任务正在重试中,重试开始时间:{val}' ,
616616 packages_business_task_status_increment_delay_warning :
617617 '当前任务最大延迟为 {delay},已超过阈值 {threshold}' ,
618+ packages_business_task_status_heartbeat_task_abnormal :
619+ '心跳任务异常,请检查并恢复' ,
618620 packages_business_select_placeholder : '请添加或选择' ,
619621 packages_business_verification_form_youjiantongzhi : '邮件通知' ,
620622 packages_business_verification_form_xitongtongzhi : '系统通知' ,
Original file line number Diff line number Diff line change @@ -616,6 +616,8 @@ export default {
616616 '當前任務正在重試中,重試開始時間:{val}' ,
617617 packages_business_task_status_increment_delay_warning :
618618 '當前任務最大延遲為 {delay},已超過閾值 {threshold}' ,
619+ packages_business_task_status_heartbeat_task_abnormal :
620+ '心跳任務異常,請檢查並恢復' ,
619621 packages_business_select_placeholder : '請添加或選擇' ,
620622 packages_business_verification_form_youjiantongzhi : '郵件通知' ,
621623 packages_business_verification_form_xitongtongzhi : '系統通知' ,
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ export default {
270270 delayTime: true ,
271271 taskIncrementDelay: true ,
272272 taskIncrementDelayThreshold: true ,
273+ heartbeatTaskRunning: true ,
273274 }
274275 const where = {
275276 syncType,
You can’t perform that action at this time.
0 commit comments