diff --git a/includes/class-executor.php b/includes/class-executor.php index e5973ed..e1f420d 100644 --- a/includes/class-executor.php +++ b/includes/class-executor.php @@ -232,8 +232,10 @@ class PRAutoBlogger_Executor { return; } - // After 3 minutes, check if pipeline produced output despite the kill. - if ( $elapsed > 180 ) { + // After 5 minutes, check if pipeline produced output despite the kill. + // Pipeline with 3 articles + images legitimately takes 3–4 minutes, + // so we wait 5 minutes before declaring it orphaned. + if ( $elapsed > 300 ) { $recent = get_posts( [ 'post_type' => 'post', 'post_status' => [ 'publish', 'draft' ],