feat: CI/CD pipeline setup complete - Ansible playbooks updated, secrets configured, workflow ready
This commit is contained in:
@@ -41,7 +41,7 @@ final readonly class WarmupResult
|
||||
{
|
||||
$total = $this->itemsWarmed + $this->itemsFailed;
|
||||
if ($total === 0) {
|
||||
return 1.0;
|
||||
return 0.0;
|
||||
}
|
||||
return $this->itemsWarmed / $total;
|
||||
}
|
||||
@@ -65,7 +65,8 @@ final readonly class WarmupResult
|
||||
'strategy_name' => $this->strategyName,
|
||||
'items_warmed' => $this->itemsWarmed,
|
||||
'items_failed' => $this->itemsFailed,
|
||||
'duration_seconds' => round($this->durationSeconds, 3),
|
||||
'duration_seconds' => $this->durationSeconds,
|
||||
'memory_used_bytes' => $this->memoryUsedBytes,
|
||||
'memory_used_mb' => round($this->getMemoryUsedMB(), 2),
|
||||
'success_rate' => round($this->getSuccessRate() * 100, 2),
|
||||
'items_per_second' => round($this->getItemsPerSecond(), 2),
|
||||
|
||||
Reference in New Issue
Block a user