Skip to content

Commit

Permalink
change in function option as well
Browse files Browse the repository at this point in the history
  • Loading branch information
cathyzbn committed Aug 30, 2024
1 parent 53dd86d commit 366dd0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modal/cls.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def with_options(
task_idle_timeout_secs=container_idle_timeout,
replace_volume_mounts=replace_volume_mounts,
volume_mounts=volume_mounts,
allow_concurrent_inputs=allow_concurrent_inputs,
target_concurrent_inputs=allow_concurrent_inputs,
)

return cls
Expand Down
2 changes: 1 addition & 1 deletion modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ message FunctionOptions {
optional uint32 task_idle_timeout_secs = 7;
optional uint32 warm_pool_size = 8;
repeated VolumeMount volume_mounts = 9;
optional uint32 allow_concurrent_inputs = 10;
optional uint32 target_concurrent_inputs = 10;
bool replace_volume_mounts = 11;
bool replace_secret_ids = 12;
}
Expand Down

0 comments on commit 366dd0b

Please sign in to comment.