Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nat): run on a schedule. #166

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scharissis
Copy link
Contributor

Description

Makes NAT run the tests on an hourly schedule.

Metadata

@scharissis scharissis requested a review from jelias2 February 6, 2025 00:33
@scharissis scharissis self-assigned this Feb 6, 2025
@scharissis scharissis requested a review from a team as a code owner February 6, 2025 00:33
Comment on lines +17 to +20
const (
runInterval = 1 * time.Hour
)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM couple suggestions,

A flag or env var to configure this would be a nice touch.
Also log the run the interval so the user don't have to look at the code to figure out the the interval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[nat] Run on a schedule
2 participants