fix: increase monitoring lease recovery interval for improved performance
Backend CI / Backend (push) Failing after 8m38s

This commit is contained in:
2026-06-23 01:09:24 +08:00
parent d458dd7477
commit 0d9c2c7461
2 changed files with 2 additions and 2 deletions
@@ -11,7 +11,7 @@ import (
)
const (
defaultMonitoringLeaseRecoveryInterval = 1 * time.Minute
defaultMonitoringLeaseRecoveryInterval = 10 * time.Minute
defaultMonitoringLeaseRecoveryTimeout = 30 * time.Second
defaultMonitoringLeaseRecoveryLimit = 1000
)
@@ -1,5 +1,5 @@
UPDATE ops.scheduler_jobs
SET interval_seconds = 60,
SET interval_seconds = 600,
description = '按过期租约索引限批回收超过租约时间仍未回调的监控任务,并释放卡住的桌面监控任务。',
config = config || '{"suppress_empty_success_runs":true,"empty_success_metric_keys":["expired_task_count","failed_desktop_monitor_count"]}'::jsonb,
updated_at = NOW()