From a3bd407db8e5b9263f8a9c73b5e48a812ab5b8a2 Mon Sep 17 00:00:00 2001 From: Christian Bruckmayer Date: Wed, 24 Jan 2024 18:39:44 +0000 Subject: [PATCH] WIP --- ruby/lib/ci/queue/configuration.rb | 2 +- ruby/lib/ci/queue/redis/monitor.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ruby/lib/ci/queue/configuration.rb b/ruby/lib/ci/queue/configuration.rb index 636b8739..3fd93a3f 100644 --- a/ruby/lib/ci/queue/configuration.rb +++ b/ruby/lib/ci/queue/configuration.rb @@ -37,7 +37,7 @@ def initialize( grind_count: nil, max_duration: nil, failure_file: nil, max_test_duration: nil, max_test_duration_percentile: 0.5, track_test_duration: false, max_test_failed: nil, queue_init_timeout: nil, redis_ttl: 8 * 60 * 60, report_timeout: nil, inactive_workers_timeout: nil, - export_flaky_tests_file: nil, warnings_file: nil, debug_log: nil, max_missed_heartbeat_seconds: 10) + export_flaky_tests_file: nil, warnings_file: nil, debug_log: nil, max_missed_heartbeat_seconds: 15) @build_id = build_id @circuit_breakers = [CircuitBreaker::Disabled] @failure_file = failure_file diff --git a/ruby/lib/ci/queue/redis/monitor.rb b/ruby/lib/ci/queue/redis/monitor.rb index 3059cb7e..c878ee30 100755 --- a/ruby/lib/ci/queue/redis/monitor.rb +++ b/ruby/lib/ci/queue/redis/monitor.rb @@ -43,6 +43,7 @@ def soft_signal(sig) end LUA def process_tick!(id:) + logger.info("Tick: #{id}") @script ||= @redis.script(:load, HEARTBEAT_SCRIPT) @redis.evalsha(@script, keys: [@zset_key, @processed_key], argv: [Time.now.to_f, id]) end