Deploy 245b24b from main

This commit is contained in:
github-actions[bot]
2026-04-07 08:04:43 +00:00
parent 526959257f
commit 1e2a973acc

View File

@@ -411,10 +411,10 @@ class Peptide_News_LLM {
) );
}
// Process a generous batch — the 120-second timeout guard inside
// process_unanalyzed() will stop early if needed. Override the
// per-cycle limit since this is a manual admin action.
$batch_size = min( 50, $remaining );
// Process a small batch per request to stay within PHP's
// max_execution_time (often 30s on shared hosting). The JS UI
// loops automatically until all articles are done.
$batch_size = min( 5, $remaining );
$processed = self::process_unanalyzed( $batch_size, true );
// Recount remaining after this batch.