firebase / firebase/firebase-functions
Option to set CPU always allocated in functions v2
Open
api: functions
feature request
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 232
- Avg merge
- 20h 46m
- Merged PRs (30d)
- 15
Description
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: https://github.com/googleapis/nodejs-spanner/issues/1682#issuecomment-1228099611
https://cloud.google.com/run/docs/configuring/cpu-allocation
Contributor guide
Assessment
This issue has not been assessed yet.