Skip to content

Commit

Permalink
Builds: Wait 2h before assuming CI failed
Browse files Browse the repository at this point in the history
  • Loading branch information
AniLeo committed Sep 9, 2024
1 parent d76d45a commit a11b6cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cachers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a11b6cb

Please sign in to comment.