Skip to content

Commit

Permalink
Update rp_scale.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Nov 20, 2023
1 parent 25ed917 commit 88271e0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runpod/serverless/modules/rp_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,11 @@ class JobScaler():
"""

# , concurrency_controller: typing.Any, config: Dict[str, typing.Any]):
def __init__(self, concurrency_modifier: typing.Any = _default_concurrency_modifier):
self.concurrency_modifier = concurrency_modifier
def __init__(self, concurrency_modifier: typing.Any):
if concurrency_modifier is None:
concurrency_modifier = _default_concurrency_modifier
else:
self.concurrency_modifier = concurrency_modifier
# self.concurrency_controller = concurrency_controller

# self.config = ConcurrencyConfig(
Expand Down

0 comments on commit 88271e0

Please sign in to comment.