@platformatic/foundation 3.28.2 → 3.29.1

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/lib/schema.js +8 -4
  2. package/package.json +1 -1
package/lib/schema.js CHANGED
@@ -56,7 +56,9 @@ export const workers = {
56
56
  total: { type: 'number', minimum: 1 },
57
57
  maxMemory: { type: 'number', minimum: 0 },
58
58
  cooldown: { type: 'number', minimum: 0 },
59
- gracePeriod: { type: 'number', minimum: 0 }
59
+ gracePeriod: { type: 'number', minimum: 0 },
60
+ scaleUpELU: { type: 'number', minimum: 0, maximum: 1 },
61
+ scaleDownELU: { type: 'number', minimum: 0, maximum: 1 }
60
62
  }
61
63
  }
62
64
  ]
@@ -72,8 +74,8 @@ const verticalScaler = {
72
74
  maxWorkers: { type: 'number', minimum: 1 },
73
75
  cooldownSec: { type: 'number', minimum: 0 },
74
76
  gracePeriod: { type: 'number', minimum: 0 },
75
- scaleUpELU: { type: 'number', minimum: 0, maximum: 1, deprecated: true },
76
- scaleDownELU: { type: 'number', minimum: 0, maximum: 1, deprecated: true },
77
+ scaleUpELU: { type: 'number', minimum: 0, maximum: 1 },
78
+ scaleDownELU: { type: 'number', minimum: 0, maximum: 1 },
77
79
  timeWindowSec: { type: 'number', minimum: 0, deprecated: true },
78
80
  scaleDownTimeWindowSec: { type: 'number', minimum: 0, deprecated: true },
79
81
  scaleIntervalSec: { type: 'number', minimum: 0, deprecated: true }
@@ -764,7 +766,9 @@ export const application = {
764
766
  properties: {
765
767
  static: { type: 'number', minimum: 1 },
766
768
  minimum: { type: 'number', minimum: 1 },
767
- maximum: { type: 'number', minimum: 0 }
769
+ maximum: { type: 'number', minimum: 0 },
770
+ scaleUpELU: { type: 'number', minimum: 0, maximum: 1 },
771
+ scaleDownELU: { type: 'number', minimum: 0, maximum: 1 }
768
772
  }
769
773
  }
770
774
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/foundation",
3
- "version": "3.28.2",
3
+ "version": "3.29.1",
4
4
  "description": "Platformatic Foundation",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",