Skip to content

Commit b18bf50

Browse files
committed
Updated default web concurrency value to be none.
1 parent 9bc802e commit b18bf50

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ads/model/deployment/model_deployment_infrastructure.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
MODEL_DEPLOYMENT_INFRASTRUCTURE_KIND = "infrastructure"
2121

2222
DEFAULT_BANDWIDTH_MBPS = 10
23-
DEFAULT_WEB_CONCURRENCY = 10
2423
DEFAULT_REPLICA = 1
2524
DEFAULT_SHAPE_NAME = "VM.Standard.E4.Flex"
2625
DEFAULT_OCPUS = 1
@@ -219,7 +218,6 @@ def _load_default_properties(self) -> Dict:
219218
defaults[self.CONST_PROJECT_ID] = PROJECT_OCID
220219

221220
defaults[self.CONST_BANDWIDTH_MBPS] = DEFAULT_BANDWIDTH_MBPS
222-
defaults[self.CONST_WEB_CONCURRENCY] = DEFAULT_WEB_CONCURRENCY
223221
defaults[self.CONST_REPLICA] = DEFAULT_REPLICA
224222

225223
if NB_SESSION_OCID:
@@ -628,7 +626,6 @@ def init(self, **kwargs) -> "ModelDeploymentInfrastructure":
628626
.with_compartment_id(self.compartment_id or "{Provide a compartment OCID}")
629627
.with_project_id(self.project_id or "{Provide a project OCID}")
630628
.with_bandwidth_mbps(self.bandwidth_mbps or DEFAULT_BANDWIDTH_MBPS)
631-
.with_web_concurrency(self.web_concurrency or DEFAULT_WEB_CONCURRENCY)
632629
.with_replica(self.replica or DEFAULT_REPLICA)
633630
.with_shape_name(self.shape_name or DEFAULT_SHAPE_NAME)
634631
.with_shape_config_details(

0 commit comments

Comments
 (0)