@ts-cloud/core 0.16.30 → 0.16.31

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +15 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -1528,6 +1528,21 @@ export interface SchedulerConfig {
1528
1528
  * HTTP method for the heartbeat ping. @default 'GET'
1529
1529
  */
1530
1530
  heartbeatMethod?: 'GET' | 'POST' | 'HEAD';
1531
+ /**
1532
+ * systemd `MemoryHigh` for the scheduler unit (Stacks, where the scheduler
1533
+ * is an always-on daemon). @default '2G'
1534
+ *
1535
+ * Declaring it also clears a hand-set `systemctl set-property MemoryHigh`
1536
+ * on the unit, which would otherwise outrank the unit file forever: that is
1537
+ * how a scheduler ended up pinned at 3G/4G for a nightly job that had long
1538
+ * since stopped needing it, with nothing in the repo saying so.
1539
+ */
1540
+ memoryHigh?: string;
1541
+ /**
1542
+ * systemd `MemoryMax` for the scheduler unit. Unset by default. Should be
1543
+ * higher than {@link memoryHigh}; declaring it clears a hand-set override.
1544
+ */
1545
+ memoryMax?: string;
1531
1546
  }
1532
1547
  /**
1533
1548
  * A Laravel queue worker (or Horizon supervisor) run as a systemd service.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.16.30",
4
+ "version": "0.16.31",
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.30"
34
+ "@ts-cloud/aws-types": "0.16.31"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"