Repository navigation
fix(options): leave cpu unset by default in set_global_options #325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1311,7 +1311,7 @@ def set_global_options( | |
| min_instances: int | Expression[int] | _util.Sentinel | None = None, | ||
| max_instances: int | Expression[int] | _util.Sentinel | None = None, | ||
| concurrency: int | Expression[int] | _util.Sentinel | None = None, | ||
| cpu: int | _typing.Literal["gcf_gen1"] | _util.Sentinel = "gcf_gen1", | ||
| cpu: int | _typing.Literal["gcf_gen1"] | _util.Sentinel | None = None, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm OK with this change as is (since it's focused on default) but should we also support Expression[int] here too (even if in the future)?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ajperel Agreed. The node sdk also leaves cpu as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't. We could look into it but I don't think it's a high priority if we've never gotten a feature request for it. But if it works... sure? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's land this as is first though. |
||
| vpc_connector: str | Expression[str] | _util.Sentinel | None = None, | ||
| vpc_connector_egress_settings: VpcEgressSetting | _util.Sentinel | None = None, | ||
| service_account: str | _util.Sentinel | None = None, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.