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

Add support for jitter #204

Merged
merged 1 commit into from
Oct 20, 2023
Merged

Add support for jitter #204

merged 1 commit into from
Oct 20, 2023

Conversation

toastwaffle
Copy link
Contributor

Description of your changes

Add support for jitter in the poll interval, controlled by the --poll-jitter flag. This defaults to 1 minute, which is 10% of the default poll interval.

While making this change, I noticed that the Setup() method in internal/controller/terraform.go is never called - the provider binary calls workspace.Setup directly, which means that there is no controller installed for ProviderConfigs. I'm not sure if this is intentional.

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Ran make test.

@ytsarev
Copy link
Member

ytsarev commented Oct 19, 2023

/test-examples="examples/workspace-inline-aws.yaml"

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the contribution

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.

2 participants