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) {