From 3d2e34dc771d85c17ae1d6ca841b903e5215b1e0 Mon Sep 17 00:00:00 2001 From: Jeff Huleatt <3759507+jhuleatt@users.noreply.github.com> Date: Tue, 27 Jun 2023 14:37:01 -0400 Subject: [PATCH] v2 -> 2nd gen --- src/firebase_functions/options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/firebase_functions/options.py b/src/firebase_functions/options.py index 9a7c181..a8d7247 100644 --- a/src/firebase_functions/options.py +++ b/src/firebase_functions/options.py @@ -91,7 +91,7 @@ class MemoryOption(int, _enum.Enum): class SupportedRegion(str, _enum.Enum): """ - All regions supported by Cloud Functions v2. + All regions supported by Cloud Functions (2nd gen). """ ASIA_NORTHEAST1 = "asia-northeast1" @@ -225,7 +225,7 @@ class RuntimeOptions: concurrency: int | Expression[int] | _util.Sentinel | None = None """ Number of requests a function can serve at once. - Can only be applied to functions running on Cloud Functions v2. + Can only be applied to functions running on Cloud Functions (2nd gen). A value of RESET_VALUE restores the default concurrency (80 when CPU >= 1, 1 otherwise). Concurrency cannot be set to any value other than 1 if `cpu` is less than 1. The maximum value for concurrency is 1,000.