@platformatic/watt-extra 1.11.0-alpha.4 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/watt-extra",
3
- "version": "1.11.0-alpha.4",
3
+ "version": "1.11.0",
4
4
  "description": "The Platformatic runtime manager",
5
5
  "type": "module",
6
6
  "scripts": {
package/plugins/env.js CHANGED
@@ -28,8 +28,8 @@ const schema = {
28
28
  PLT_ELU_HEALTH_SIGNAL_THRESHOLD: { type: 'number', default: 0.8 },
29
29
  PLT_HEAP_HEALTH_SIGNAL_THRESHOLD: { type: ['number', 'string'], default: '200MB' },
30
30
  PLT_ALERTS_GRACE_PERIOD_SEC: { type: 'number', default: 30 },
31
- PLT_HEALTH_SIGNALS_SHORT_BATCH_TIMEOUT: { type: 'number', default: 2000 },
32
- PLT_HEALTH_SIGNALS_LONG_BATCH_TIMEOUT: { type: 'number', default: 2000 }
31
+ PLT_HEALTH_SIGNALS_SHORT_BATCH_TIMEOUT: { type: 'number', default: 5000 },
32
+ PLT_HEALTH_SIGNALS_LONG_BATCH_TIMEOUT: { type: 'number', default: 30000 }
33
33
  }
34
34
  }
35
35
 
@@ -200,9 +200,6 @@ async function healthSignals (app, _opts) {
200
200
  }
201
201
 
202
202
  const runtimeId = app.getRuntimeId()
203
- const requestBody = { applicationId, runtimeId, signals, batchStartedAt }
204
-
205
- process._rawDebug('[watt-extra:health-signals] Sending signals:', JSON.stringify(requestBody, null, 2))
206
203
 
207
204
  const { statusCode, body } = await request(`${scalerUrl}/signals`, {
208
205
  method: 'POST',
@@ -0,0 +1,6 @@
1
+ ignoredBuiltDependencies:
2
+ - '@datadog/pprof'
3
+ - msgpackr-extract
4
+ - protobufjs
5
+ - sharp
6
+ - unrs-resolver
@@ -1,13 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(node --test-only:*)",
5
- "Bash(node --test:*)",
6
- "Bash(for i in {1..3})",
7
- "Bash(do echo \"=== Run $i ===\")",
8
- "Bash(done)"
9
- ],
10
- "deny": [],
11
- "ask": []
12
- }
13
- }