@ts-cloud/core 0.16.145 → 0.16.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +13 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1321,6 +1321,15 @@ export interface SiteConfig {
|
|
|
1321
1321
|
* know a site's real ceiling. Should be higher than {@link memoryHigh}.
|
|
1322
1322
|
*/
|
|
1323
1323
|
memoryMax?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* systemd `MemorySwapMax` for this site's units. `MemoryHigh` and `MemoryMax`
|
|
1326
|
+
* bound RAM only: with swap unbounded a unit that reaches `MemoryHigh` pages
|
|
1327
|
+
* out instead of being held back, so neither ceiling ever binds and a leak
|
|
1328
|
+
* fills the shared host's swap until the global OOM killer picks a
|
|
1329
|
+
* co-tenant. A bounded allowance keeps the cgroup's own limits in charge.
|
|
1330
|
+
* `'infinity'` opts out; `'0'` forbids swap. @default '512M'
|
|
1331
|
+
*/
|
|
1332
|
+
memorySwapMax?: string;
|
|
1324
1333
|
/**
|
|
1325
1334
|
* systemd `CPUWeight` for this site's unit — its relative share of the CPU
|
|
1326
1335
|
* when the box is contended. Default weight is 100; higher wins.
|
|
@@ -1702,6 +1711,8 @@ export interface SchedulerConfig {
|
|
|
1702
1711
|
* higher than {@link memoryHigh}; declaring it clears a hand-set override.
|
|
1703
1712
|
*/
|
|
1704
1713
|
memoryMax?: string;
|
|
1714
|
+
/** systemd `MemorySwapMax` for the scheduler unit. See {@link SiteConfig.memorySwapMax}. @default '512M' */
|
|
1715
|
+
memorySwapMax?: string;
|
|
1705
1716
|
}
|
|
1706
1717
|
/**
|
|
1707
1718
|
* A Laravel queue worker (or Horizon supervisor) run as a systemd service.
|
|
@@ -4503,6 +4514,8 @@ export interface ComputeProxyConfig {
|
|
|
4503
4514
|
* @default '768M'
|
|
4504
4515
|
*/
|
|
4505
4516
|
memoryMax?: string;
|
|
4517
|
+
/** systemd `MemorySwapMax` for the `rpx-gateway.service` unit. See {@link SiteConfig.memorySwapMax}. @default '512M' */
|
|
4518
|
+
memorySwapMax?: string;
|
|
4506
4519
|
/**
|
|
4507
4520
|
* Enable rpx on-demand TLS: lazily issue a real (Let's Encrypt) cert for an
|
|
4508
4521
|
* approved host the first time it's needed. The site domains are used as the
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-cloud/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.146",
|
|
5
5
|
"description": "Core CloudFormation generation library for ts-cloud",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typecheck": "tsc --noEmit"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ts-cloud/aws-types": "0.16.
|
|
34
|
+
"@ts-cloud/aws-types": "0.16.146"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "^7.0.2"
|