mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user