From f005571c9fbc5c6ff11baa81c66a76978ff4e205 Mon Sep 17 00:00:00 2001 From: Bill Date: Mon, 3 Nov 2025 22:56:24 -0500 Subject: [PATCH] chore: reduce healthcheck interval to 1h to minimize log noise Healthcheck now runs once per hour instead of every 30 seconds, reducing log spam while still maintaining startup verification during the 40s start_period. Benefits: - Minimal log noise (1 check/hour vs every 30s) - Maintains startup verification - Compatible with Docker orchestration tools --- CHANGELOG.md | 3 +++ docker-compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28d6c9b..ac1190a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Reduced Docker healthcheck frequency from 30s to 1h to minimize log noise while maintaining startup verification + ## [0.3.1] - 2025-11-03 ### Fixed diff --git a/docker-compose.yml b/docker-compose.yml index 27cf7c3..b31ff85 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,7 @@ services: restart: unless-stopped # Keep API server running healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health"] - interval: 30s + interval: 1h # Check once per hour (effectively startup-only for typical usage) timeout: 10s retries: 3 - start_period: 40s + start_period: 40s # Initial startup verification period