diff --git a/pkg/mining/config_manager.go b/pkg/mining/config_manager.go index c743100..13e402e 100644 --- a/pkg/mining/config_manager.go +++ b/pkg/mining/config_manager.go @@ -22,9 +22,9 @@ type MinerAutostartConfig struct { // DatabaseConfig{Enabled: true, RetentionDays: 30} type DatabaseConfig struct { - // Enabled determines if database persistence is active (default: true) + // cfg.Enabled = false // disable hashrate persistence entirely Enabled bool `json:"enabled"` - // RetentionDays is how long to keep historical data (default: 30) + // cfg.RetentionDays = 90 // purge rows older than 90 days (0 → defaults to 30) RetentionDays int `json:"retentionDays,omitempty"` }