Skip to content

chore(config): align default staleness to 500ms in dev and compose configs#2499

Open
Nachiket-Roy wants to merge 1 commit into
sustainable-computing-io:mainfrom
Nachiket-Roy:fix-staleness-default
Open

chore(config): align default staleness to 500ms in dev and compose configs#2499
Nachiket-Roy wants to merge 1 commit into
sustainable-computing-io:mainfrom
Nachiket-Roy:fix-staleness-default

Conversation

@Nachiket-Roy

Copy link
Copy Markdown

Summary

This PR updates the default value of monitor.staleness from 1000ms to 500ms in hack/config.yaml and the Docker Compose config templates under compose/.

Rationale

This aligns the default values in these helper configuration files with the hardcoded programmatic default of 500ms in config/config.go (DefaultConfig()) and internal/monitor/options.go.

This discrepancy was pointed out and discussed during the configuration documentation review in sustainable-computing-io/kepler-doc#201. Updating these templates resolves the inconsistency between the actual codebase defaults, the documentation, and these default config templates.

References

@github-actions github-actions Bot added the chore Routine tasks or maintenance label Jul 13, 2026
Signed-off-by: Nachiket Roy <nachiket.roy.2@gmail.com>
@Nachiket-Roy Nachiket-Roy force-pushed the fix-staleness-default branch from 8681cba to ab2a94a Compare July 13, 2026 08:14
@Nachiket-Roy

Copy link
Copy Markdown
Author

cc : @sunya-ch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Routine tasks or maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant