From a11b6cbfe73181a03e8d3de538d50128da911d71 Mon Sep 17 00:00:00 2001 From: Ani Date: Tue, 10 Sep 2024 00:32:33 +0100 Subject: [PATCH] Builds: Wait 2h before assuming CI failed --- cachers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cachers.php b/cachers.php index 1466c09..1febea6 100644 --- a/cachers.php +++ b/cachers.php @@ -324,10 +324,10 @@ function cache_build(int $pr) : void isset($info_release_linux->message) || isset($info_release_mac->message); - $is_broken = $is_missing && time() - strtotime($merge_datetime) >= 5400; + $is_broken = $is_missing && time() - strtotime($merge_datetime) >= (3600 * 2); // Error message found: Build doesn't exist in one of the repos - // Do not ignore if the build was merged over an hour and half ago, to cache as broken + // Do not ignore if the build was merged over two hours ago, to cache as broken // TODO: Ignore macOS if date is prior to the first macOS build if ($is_missing && !$is_broken) {