🎥 Make videos programmatically with React
`@remotion/lambda`: Remove burst limit from `npx remotion lambda quotas`
Jonny Burgera71ebf1083dc
diff --git a/packages/lambda/src/cli/commands/quotas/list.ts b/packages/lambda/src/cli/commands/quotas/list.tsindex 026f053f1d..d8fd95280b 100644--- a/packages/lambda/src/cli/commands/quotas/list.ts+++ b/packages/lambda/src/cli/commands/quotas/list.ts@@ -6,11 +6,7 @@ import {import {CliInternals} from '@remotion/cli';import type {LogLevel} from '@remotion/renderer';import {QUOTAS_COMMAND} from '.';-import {- BINARY_NAME,- LAMBDA_BURST_LIMIT_QUOTA,- LAMBDA_CONCURRENCY_LIMIT_QUOTA,-} from '../../../defaults';+import {BINARY_NAME, LAMBDA_CONCURRENCY_LIMIT_QUOTA} from '../../../defaults';import {getServiceQuotasClient} from '../../../shared/aws-clients';import {getAwsRegion} from '../../get-aws-region';import {Log} from '../../log';@@ -23,7 +19,7 @@ export const quotasListCommand = async (logLevel: LogLevel) => {CliInternals.chalk.gray(`Region = ${region}`),);Log.info({indent: false, logLevel});- const [concurrencyLimit, defaultConcurrencyLimit, burstLimit, changes] =+ const [concurrencyLimit, defaultConcurrencyLimit, changes] =await Promise.all([getServiceQuotasClient(region).send(new GetServiceQuotaCommand({@@ -37,12 +33,6 @@ export const quotasListCommand = async (logLevel: LogLevel) => {ServiceCode: 'lambda',}),),- getServiceQuotasClient(region).send(- new GetAWSDefaultServiceQuotaCommand({- QuotaCode: LAMBDA_BURST_LIMIT_QUOTA,- ServiceCode: 'lambda',- }),- ),getServiceQuotasClient(region).send(new ListRequestedServiceQuotaChangeHistoryByQuotaCommand({QuotaCode: LAMBDA_CONCURRENCY_LIMIT_QUOTA,@@ -57,10 +47,8 @@ export const quotasListCommand = async (logLevel: LogLevel) => {const concurrencyCurrent = concurrencyLimit.Quota?.Value as number;const defaultConcurrency = defaultConcurrencyLimit.Quota?.Value as number;- const burstDefault = burstLimit.Quota?.Value as number;const increaseRecommended = concurrencyCurrent <= defaultConcurrency;- const effectiveBurstConcurrency = Math.min(burstDefault, defaultConcurrency);if (increaseRecommended) {Log.info(@@ -103,15 +91,6 @@ export const quotasListCommand = async (logLevel: LogLevel) => {);Log.info({indent: false, logLevel});- if (effectiveBurstConcurrency === burstDefault) {- Log.info({indent: false, logLevel}, `Burst concurrency: ${burstDefault}`);- } else {- Log.info(- {indent: false, logLevel},- `Burst concurrency: ${burstDefault}, but only ${effectiveBurstConcurrency} effective because of concurrency limit`,- );- }-Log.info({indent: false, logLevel},CliInternals.chalk.gray(diff --git a/packages/lambda/src/shared/constants.ts b/packages/lambda/src/shared/constants.tsindex b8f57aa584..920d87fac3 100644--- a/packages/lambda/src/shared/constants.ts+++ b/packages/lambda/src/shared/constants.ts@@ -558,4 +558,3 @@ export type RenderProgress = {export type Privacy = 'public' | 'private' | 'no-acl';export const LAMBDA_CONCURRENCY_LIMIT_QUOTA = 'L-B99A9384';-export const LAMBDA_BURST_LIMIT_QUOTA = 'L-548AE339';