23448170c7
ISSUE: Batch analyzer only flagged domains for optimization when recommended < current (only reductions). Domains needing INCREASES were marked "OK" even with: • Critical traffic (73 concurrent requests) • Severely undersized configuration (5 max_children) EXAMPLE: Current: 5, Recommended: 20, Traffic: 73 concurrent Old: Status "OK" (no change detected) New: Status "NEEDS OPTIMIZATION" (recognized undersizing) FIX: - Flag optimization when recommended != current - ONLY if change is meaningful: • Has significant traffic (>= 5 concurrent requests) OR • Offers significant memory savings (>= 20% reduction) RATIONALE: - Domains with critical traffic should be optimized even if it increases max_children - Undersized configurations are just as problematic as oversized ones - Users need to see both increases and decreases in optimization recommendations This ensures the batch analyzer surfaces all actionable optimization opportunities. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>