@platformatic/composer 3.9.0 → 3.11.0

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/config.d.ts CHANGED
@@ -385,6 +385,7 @@ export interface PlatformaticComposerConfig {
385
385
  };
386
386
  };
387
387
  plugins?: string[];
388
+ timeout?: number | string;
388
389
  };
389
390
  telemetry?: {
390
391
  enabled?: boolean | string;
@@ -465,14 +466,16 @@ export interface PlatformaticComposerConfig {
465
466
  verticalScaler?: {
466
467
  enabled?: boolean;
467
468
  maxTotalWorkers?: number;
469
+ maxTotalMemory?: number;
468
470
  minWorkers?: number;
469
471
  maxWorkers?: number;
470
472
  scaleUpELU?: number;
471
473
  scaleDownELU?: number;
472
- minELUDiff?: number;
473
474
  timeWindowSec?: number;
475
+ scaleDownTimeWindowSec?: number;
474
476
  cooldownSec?: number;
475
477
  scaleIntervalSec?: number;
478
+ gracePeriod?: number;
476
479
  };
477
480
  inspectorOptions?: {
478
481
  host?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/composer",
3
- "version": "3.9.0",
3
+ "version": "3.11.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "json-schema-to-typescript": "^15.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@platformatic/foundation": "3.9.0",
27
- "@platformatic/gateway": "3.9.0"
26
+ "@platformatic/gateway": "3.11.0",
27
+ "@platformatic/foundation": "3.11.0"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.9.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.11.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Composer Config",
5
5
  "type": "object",
@@ -887,6 +887,30 @@
887
887
  "nodeOptions": {
888
888
  "type": "string"
889
889
  },
890
+ "permissions": {
891
+ "type": "object",
892
+ "properties": {
893
+ "fs": {
894
+ "type": "object",
895
+ "properties": {
896
+ "read": {
897
+ "type": "array",
898
+ "items": {
899
+ "type": "string"
900
+ }
901
+ },
902
+ "write": {
903
+ "type": "array",
904
+ "items": {
905
+ "type": "string"
906
+ }
907
+ }
908
+ },
909
+ "additionalProperties": false
910
+ }
911
+ },
912
+ "additionalProperties": false
913
+ },
890
914
  "telemetry": {
891
915
  "type": "object",
892
916
  "properties": {
@@ -1697,6 +1721,17 @@
1697
1721
  }
1698
1722
  ]
1699
1723
  }
1724
+ },
1725
+ "timeout": {
1726
+ "anyOf": [
1727
+ {
1728
+ "type": "integer"
1729
+ },
1730
+ {
1731
+ "type": "string"
1732
+ }
1733
+ ],
1734
+ "default": 10000
1700
1735
  }
1701
1736
  },
1702
1737
  "additionalProperties": false
@@ -1844,6 +1879,10 @@
1844
1879
  "type": "number",
1845
1880
  "minimum": 1
1846
1881
  },
1882
+ "maxTotalMemory": {
1883
+ "type": "number",
1884
+ "minimum": 0
1885
+ },
1847
1886
  "minWorkers": {
1848
1887
  "type": "number",
1849
1888
  "minimum": 1
@@ -1862,12 +1901,11 @@
1862
1901
  "minimum": 0,
1863
1902
  "maximum": 1
1864
1903
  },
1865
- "minELUDiff": {
1904
+ "timeWindowSec": {
1866
1905
  "type": "number",
1867
- "minimum": 0,
1868
- "maximum": 1
1906
+ "minimum": 0
1869
1907
  },
1870
- "timeWindowSec": {
1908
+ "scaleDownTimeWindowSec": {
1871
1909
  "type": "number",
1872
1910
  "minimum": 0
1873
1911
  },
@@ -1878,6 +1916,10 @@
1878
1916
  "scaleIntervalSec": {
1879
1917
  "type": "number",
1880
1918
  "minimum": 0
1919
+ },
1920
+ "gracePeriod": {
1921
+ "type": "number",
1922
+ "minimum": 0
1881
1923
  }
1882
1924
  },
1883
1925
  "additionalProperties": false