-
Notifications
You must be signed in to change notification settings - Fork 113
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
RSDK-2886 Reduce config ticker and simplify completeConfig goroutine #2291
Conversation
Timing locally, this change seems to lower testing time by about 30 seconds. That's not significant, so I can leave RSDK-2886 open for now. |
5 seconds in computer time is a while. what memory would be getting overused or thrash? |
I'm not concerned about that so much as trying too often and unnecessarily - if a component is down it probably takes longer than 5s to fully restart and reinitialize. |
|
We now lower testing time by about 1m45s. |
Oh I think that's fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
RSDK-2886
[idea] We should be able to reduce the config timer (renamed
configTicker
) to tick every 5 seconds. This should decrease test running time and increase the frequency with which we're able to detect changes in cloud configs/remotes. I think we can also use a singletriggerConfig
channel (bool
seemed overly expressive given we only ever sendtrue
).