Перейти к основному содержимому

Variable: PluginResourceConfigFileSchema

const PluginResourceConfigFileSchema: TObject<{ database: TOptional<TObject<{ cacheMiB: TOptional<TInteger>; maintenancePriority: TOptional<TUnion<[TLiteral<"background">, TLiteral<"interactive">]>>; }>>; plugins: TOptional<TObject<{ aggregateRssHardMiB: TOptional<TInteger>; aggregateRssSoftMiB: TOptional<TInteger>; backgroundCpuPercent: TOptional<TInteger>; cpuHeavyConcurrency: TOptional<TInteger>; defaultIdleTimeoutSec: TOptional<TInteger>; defaultProcessHeapMiB: TOptional<TInteger>; defaultProcessRssHardMiB: TOptional<TInteger>; defaultProcessRssSoftMiB: TOptional<TInteger>; dependencyUnpackedMiBPerPlugin: TOptional<TInteger>; eventReplayBytesMiB: TOptional<TInteger>; eventReplayBytesPerNameMiB: TOptional<TInteger>; installConcurrency: TOptional<TInteger>; ipcInFlightBytesMiB: TOptional<TInteger>; ipcInFlightBytesPerPluginMiB: TOptional<TInteger>; jobsGlobalConcurrency: TOptional<TInteger>; jobsPerPluginConcurrency: TOptional<TInteger>; maxActiveBackends: TOptional<TInteger>; maxWarmBackends: TOptional<TInteger>; networkGlobalConcurrency: TOptional<TInteger>; networkPerPluginConcurrency: TOptional<TInteger>; serviceGlobalConcurrency: TOptional<TInteger>; serviceInFlightMiBPerPlugin: TOptional<TInteger>; servicePerPluginConcurrency: TOptional<TInteger>; }>>; resourceProfile: TOptional<TUnion<[TLiteral<"low-vps-3gb">, TLiteral<"low-vps-2gb">, TLiteral<"standard">, TLiteral<"custom">]>>; server: TOptional<TObject<{ mainRssHardMiB: TOptional<TInteger>; mainRssTargetMiB: TOptional<TInteger>; nodeHeapMiB: TOptional<TInteger>; processTreeRssHardMiB: TOptional<TInteger>; processTreeRssSoftMiB: TOptional<TInteger>; }>>; }>

Defined in: packages/contracts/src/resourceProfile.ts:98

Resource-profile config file (YAML, NEOTA_CONFIG_FILE). Mirrors ТЗ §20: a profile name plus per-section overrides. Everything is optional — the profile presets supply the defaults.