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

Implement reload signal debouncing #1705

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

komapa
Copy link

@komapa komapa commented Feb 3, 2023

Hello, this is an implementation of debouncing reload signals so that only a single reload happens in the span of a single splay period.

I think the changes are pretty self-explanatory and the only thing that needed to change was starting runner.Signal(s) in a go routine so that we can do all operations in parallel and not sequential.

Please let me know if there is a better way to do this. Thank you!

@komapa komapa requested a review from a team February 3, 2023 21:37
@hashicorp-cla
Copy link

hashicorp-cla commented Feb 3, 2023

CLA assistant check
All committers have signed the CLA.

@komapa
Copy link
Author

komapa commented Mar 21, 2023

Just a note that we have been running this in production for the last 2-3 weeks and it has been performing well for us.

@komapa komapa requested a review from a team as a code owner April 19, 2023 01:02
@komapa komapa requested review from roncodingenthusiast and removed request for a team April 19, 2023 01:02
@roncodingenthusiast
Copy link
Contributor

@komapa is this still running in production, any issues you have noticed?

This is looking good, do you also mind rebasing this before we approve/merge this?

@komapa
Copy link
Author

komapa commented Jun 21, 2023

Hey @roncodingenthusiast, we ran this for more than a month in production and we did not see any issues. We eventually removed it because we were able to stop the reloads altogether and we did not want to keep having to apply the patch. I think it will be great to get this merged in if you think it looks good.

@komapa komapa requested a review from a team as a code owner January 30, 2024 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants