-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make scale down to 0 even faster in some cases. #4938
Conversation
For the single request activation it might happen that we end up here earlier than stable period. In that case, e.g. with window of 60 seconds, which is the default, we'd wait another whole minute. This way we'll wait on the remaining time (usually under a second).
Cool |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jonjohnsonjr, vagababov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
// Otherwise, scale down to 1 until the idle period elapses and re-enqueue | ||
// the PA for reconciliation at that time. | ||
ks.enqueueCB(pa, sw) | ||
// Otherwise, scale down to at most 1 for the remainder of the idle period and then |
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.
„At least 1“?
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.
Eh, since this is scale to 0, so "at most 1", as in no more than 1, but still not 0...
Perhaps just "scale to 1".
/retest |
/test pull-knative-serving-integration-tests |
For the single request activation it might happen that we end up
here earlier than stable period. In that case, e.g. with window of 60 seconds,
which is the default, we'd wait another whole minute.
This way we'll wait on the remaining time (usually under a second).
/assign @jonjohnsonjr
For #4453