Sfoglia il codice sorgente

调整: 将请假权限到期回收频率改为五分钟

1. 具体改动:把 hkkqLeaveAuthRecyclePlan 的 cron 从每 2 分钟一次调整为每 5 分钟一次,降低请假权限到期回收对数据库扫描与海康接口调用的触发频率。

2. 影响范围或行为变化:海康请假权限到期回收的最大发现延迟由约 2 分钟放宽到约 5 分钟,换取更低的定时任务触发密度;不影响手工删除入口与已实现的回收逻辑。

3. 验证情况:已复核 hkkq.timer.xml 差异并执行 git diff --cached --check;未执行自动化测试,未做正式环境联机验证。
“gaohp” 5 mesi fa
parent
commit
c3432d7700
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      web/cfg/biz/kq/hkkq.timer.xml

+ 1 - 1
web/cfg/biz/kq/hkkq.timer.xml

@@ -8,6 +8,6 @@
 	<timer name="hkkqEveningPlan" desc="海康晚修迟到兜底汇总" trigger="0 0 20 * * ?" serv="hkkq_timer_plan" parm='{"planCode":"wx"}'/>
 	<timer name="hkkqNightStartPlan" desc="海康归寝20点未归基线(20:40触发)" trigger="0 40 20 * * ?" serv="hkkq_timer_plan" parm='{"planCode":"gq2000"}'/>
 	<timer name="hkkqNightFirstPlan" desc="海康归寝第一次未归兜底" trigger="0 31 21 * * ?" serv="hkkq_timer_plan" parm='{"planCode":"gq2131"}'/>
-	<timer name="hkkqLeaveAuthRecyclePlan" desc="海康请假权限到期回收" trigger="0 0/2 * * * ?" serv="hkkq_leave_auth_recycle"/>
+	<timer name="hkkqLeaveAuthRecyclePlan" desc="海康请假权限到期回收" trigger="0 0/5 * * * ?" serv="hkkq_leave_auth_recycle"/>
 	<!--<timer name="hkkqNightFinalPlan" desc="海康归寝最终未归兜底" trigger="59 59 23 * * ?" serv="hkkq_timer_plan" parm='{"planCode":"gq235959"}'/>-->
 </timers>