Skip to content

Option to set CPU always allocated in functions v2 #1222

Open
@dannnnthemannnn

Description

@dannnnthemannnn

I would like to set "CPU always allocated" to my cloud functions with min instances set so that they will maintain their connection to spanner. Currently the connection is being killed when the function has no CPU because there are no requests processing. It would be great to have this as an option when deploying functions.

See this link for this suggesiton from the spanner team: googleapis/nodejs-spanner#1682 (comment)

https://cloud.google.com/run/docs/configuring/cpu-allocation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions