π₯ Make videos programmatically with React
`@remotion/cloudrun`: Set maxScale to 5 when deploying to Cloud Run
Jonny Burgerc23ba27f613e
diff --git a/packages/cloudrun/src/shared/constants.ts b/packages/cloudrun/src/shared/constants.tsindex 2160361774..fe7da47365 100644--- a/packages/cloudrun/src/shared/constants.ts+++ b/packages/cloudrun/src/shared/constants.ts@@ -19,4 +19,5 @@ export const DEFAULT_OUTPUT_PRIVACY: Privacy = 'public';export const DEFAULT_TIMEOUT = 300;export const DEFAULT_MIN_INSTANCES = 0;+// TODO: In V5, Enable set this to 5export const DEFAULT_MAX_INSTANCES = 100;diff --git a/packages/renderer/src/print-useful-error-message.ts b/packages/renderer/src/print-useful-error-message.tsindex 5dd6145a02..a5562cd6bd 100644--- a/packages/renderer/src/print-useful-error-message.ts+++ b/packages/renderer/src/print-useful-error-message.ts@@ -181,4 +181,16 @@ export const printUsefulErrorMessage = ('Try increasing the disk size of your Lambda function.',);}++ if (err.message.includes('Invalid value specified for cpu')) {+ Log.info({indent, logLevel});+ Log.info(+ {indent, logLevel},+ 'π‘ This error indicates that your GCP account does have a limit. Try setting `--maxInstances=5` / `maxInstances: 5` when deploying this service.',+ );+ Log.info({+ indent,+ logLevel,+ });+ }};