fix: increase monitoring lease recovery interval for improved performance
Backend CI / Backend (push) Failing after 8m38s
Backend CI / Backend (push) Failing after 8m38s
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
defaultMonitoringLeaseRecoveryInterval = 1 * time.Minute
|
defaultMonitoringLeaseRecoveryInterval = 10 * time.Minute
|
||||||
defaultMonitoringLeaseRecoveryTimeout = 30 * time.Second
|
defaultMonitoringLeaseRecoveryTimeout = 30 * time.Second
|
||||||
defaultMonitoringLeaseRecoveryLimit = 1000
|
defaultMonitoringLeaseRecoveryLimit = 1000
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
UPDATE ops.scheduler_jobs
|
UPDATE ops.scheduler_jobs
|
||||||
SET interval_seconds = 60,
|
SET interval_seconds = 600,
|
||||||
description = '按过期租约索引限批回收超过租约时间仍未回调的监控任务,并释放卡住的桌面监控任务。',
|
description = '按过期租约索引限批回收超过租约时间仍未回调的监控任务,并释放卡住的桌面监控任务。',
|
||||||
config = config || '{"suppress_empty_success_runs":true,"empty_success_metric_keys":["expired_task_count","failed_desktop_monitor_count"]}'::jsonb,
|
config = config || '{"suppress_empty_success_runs":true,"empty_success_metric_keys":["expired_task_count","failed_desktop_monitor_count"]}'::jsonb,
|
||||||
updated_at = NOW()
|
updated_at = NOW()
|
||||||
|
|||||||
Reference in New Issue
Block a user