fix autoscale pool size check
@@ -605,7 +605,7 @@ class AutoScaleConfig(BaseModel):
@root_validator()
def check_data(cls, values: Any) -> Any:
- if values["min_size"] <= values["max_size"]:
+ if values["min_size"] > values["max_size"]:
raise ValueError("The pool min_size is greater than max_size")
return values
