Merge pull request #7361 from dokku/allow-zero-min-replicas

Allow autoscaling config to have zero min replicas
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2024-11-15 23:19:54 -05:00
commit 2dcbdd601a
1 file changed
+1 -1
+1 -1
View File
@@ -146,7 +146,7 @@ type ProcessAutoscaling struct {
MaxReplicas int `yaml:"max_replicas,omitempty"` MaxReplicas int `yaml:"max_replicas,omitempty"`
// MinReplicas is the minimum number of replicas to scale to // MinReplicas is the minimum number of replicas to scale to
MinReplicas int `yaml:"min_replicas,omitempty"` MinReplicas int `yaml:"min_replicas"`
// PollingIntervalSeconds is the number of seconds between polling for new metrics // PollingIntervalSeconds is the number of seconds between polling for new metrics
PollingIntervalSeconds int `yaml:"polling_interval_seconds,omitempty"` PollingIntervalSeconds int `yaml:"polling_interval_seconds,omitempty"`