-
Notifications
You must be signed in to change notification settings - Fork 56
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: update workers service in proxy #1107
feat: update workers service in proxy #1107
Conversation
45c7cfb
to
671e116
Compare
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.
Looks good! Thank you. I left some comments inline.
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.
Looks good! Thank you! I left one small comment inline.
fix: move changelog entry to right place
87dd71d
to
5353d9d
Compare
WORKER_UNHEALTHY.inc_by(unhealthy_workers as u64); | ||
|
||
// Sleep for the defined interval before the next health check | ||
sleep(self.health_check_frequency).await; |
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.
nit: It sounds like this is not the frequency (ie, health checks per unit of time) but more like an interval or period so maybe the variable can be renamed
This PR adds a new service to the proxy server, which is in charge of updating the workers in the load balancer. This allows of removing the responsibility from the proxy itself.
closes #1003