Skip to content

Variable: APP_LIMITS ​

ts
const APP_LIMITS: object;

Limits every host enforces on modules and calls.

Type Declaration ​

actionTimeoutMs ​

ts
readonly actionTimeoutMs: object;

An action's time (AppAction.timeoutMs); app-timing.ts holds what each layer above gives it.

actionTimeoutMs.default ​

ts
readonly default: 15000;

actionTimeoutMs.max ​

ts
readonly max: 120000;

actionTimeoutMs.min ​

ts
readonly min: 100;

aliasesPerInstall ​

ts
readonly aliasesPerInstall: 5;

The former names one install answers to besides its own (AppInstallAlias).

callbackTimeoutSeconds ​

ts
readonly callbackTimeoutSeconds: object;

How long a run waits for an asynchronous action's webhook (async.callbackTimeoutSeconds, and a pending answer's own callbackTimeoutSeconds).

callbackTimeoutSeconds.max ​

ts
readonly max: number;

callbackTimeoutSeconds.min ​

ts
readonly min: 1;

configSecrets ​

ts
readonly configSecrets: 20;

The secret variables one install's config may hold (secretsFromConfig).

documentReadsPerCall ​

ts
readonly documentReadsPerCall: 10;

handoffTimeoutMs ​

ts
readonly handoffTimeoutMs: 15000;

A hand-off: the vendor makes the link to its hosted page while the applicant waits.

hostsFromConfig ​

ts
readonly hostsFromConfig: 5;

The config fields a manifest may name as holding URLs (hostsFromConfig).

httpRequestsPerCall ​

ts
readonly httpRequestsPerCall: 25;

httpRequestTimeoutMs ​

ts
readonly httpRequestTimeoutMs: object;

httpRequestTimeoutMs.default ​

ts
readonly default: 10000;

httpRequestTimeoutMs.max ​

ts
readonly max: 30000;

httpResponseMaxBytes ​

ts
readonly httpResponseMaxBytes: number;

inspectTimeoutMs ​

ts
readonly inspectTimeoutMs: 5000;

Reading a module's manifest at upload and at start-up: no tenant, no network.

installHosts ​

ts
readonly installHosts: 20;

The hosts one install may call: the manifest's and those of its config's URLs together.

installsPerTenant ​

ts
readonly installsPerTenant: 50;

The installs a tenant may have, of every app together.

logLineMaxChars ​

ts
readonly logLineMaxChars: 2000;

logLinesPerCall ​

ts
readonly logLinesPerCall: 200;

memoryMiB ​

ts
readonly memoryMiB: object;

memoryMiB.default ​

ts
readonly default: 64;

memoryMiB.max ​

ts
readonly max: 256;

memoryMiB.min ​

ts
readonly min: 16;

moduleMaxBytes ​

ts
readonly moduleMaxBytes: number;

An uploaded module.

outputMaxBytes ​

ts
readonly outputMaxBytes: number;

What an export may answer, and what a host function may be asked.

Released under the Apache-2.0 License.