@platformatic/foundation 3.5.1 → 3.6.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.
Files changed (2) hide show
  1. package/lib/schema.js +12 -1
  2. package/package.json +1 -1
package/lib/schema.js CHANGED
@@ -834,6 +834,16 @@ export const runtimeProperties = {
834
834
  services: applications,
835
835
  web: applications,
836
836
  workers: { ...workers, default: 1 },
837
+ workersRestartDelay: {
838
+ anyOf: [
839
+ {
840
+ type: 'number',
841
+ minimum: 0
842
+ },
843
+ { type: 'string' }
844
+ ],
845
+ default: 0
846
+ },
837
847
  logger,
838
848
  server,
839
849
  startTimeout: {
@@ -1024,7 +1034,8 @@ export const runtimeProperties = {
1024
1034
  applicationLabel: {
1025
1035
  type: 'string',
1026
1036
  default: 'applicationId',
1027
- description: 'The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)'
1037
+ description:
1038
+ 'The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)'
1028
1039
  },
1029
1040
  readiness: {
1030
1041
  anyOf: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/foundation",
3
- "version": "3.5.1",
3
+ "version": "3.6.0",
4
4
  "description": "Platformatic Foundation",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",