File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
resources/kubernetes_template
src/components/controller/sql_files Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ controller_procedures:
3131 monitors_stuck :
3232 schedule : " */5 * * * *"
3333 params :
34- time_tolerance : 300
34+ time_tolerance : 10
3535
3636executor_concurrency : 5
3737executor_sleep : 5
Original file line number Diff line number Diff line change 4242 monitors_stuck:
4343 schedule: "*/5 * * * *"
4444 params:
45- time_tolerance: 300
45+ time_tolerance: 10
4646
4747 executor_concurrency: 5
4848 executor_sleep: 5
Original file line number Diff line number Diff line change 11with monitors as (
22 select
33 id,
4- extract(epoch from current_timestamp - greatest(queued_at, running_at)) :: int as seconds_queued
4+ extract(epoch from current_timestamp - last_heartbeat) :: int as time_since_last_heartbeat
55 from " Monitors"
66 where
77 enabled and (queued or running)
88)
99select id
1010from monitors
11- where seconds_queued > $1 :: int ;
11+ where time_since_last_heartbeat > $1 :: int ;
You can’t perform that action at this time.
0 commit comments