@platformatic/watt-extra 1.1.1-alpha.0 → 1.2.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 +1 -1
- package/plugins/metadata.js +0 -7
- package/test/spawn.test.js +1 -1
package/package.json
CHANGED
package/plugins/metadata.js
CHANGED
|
@@ -42,13 +42,6 @@ async function metadata (app, _opts) {
|
|
|
42
42
|
)
|
|
43
43
|
)
|
|
44
44
|
|
|
45
|
-
process._rawDebug('--------VERTICAL SCALER CONFIG----------', verticalScalerConfig)
|
|
46
|
-
setInterval(async () => {
|
|
47
|
-
const runtimeConfig = await runtime.getRuntimeConfig()
|
|
48
|
-
const verticalScalerConfig = runtimeConfig.verticalScaler
|
|
49
|
-
process._rawDebug('--------VERTICAL SCALER CONFIG----------', verticalScalerConfig)
|
|
50
|
-
}, 1000)
|
|
51
|
-
|
|
52
45
|
const verticalScalerConfig = runtimeConfig.verticalScaler
|
|
53
46
|
if (verticalScalerConfig?.enabled) {
|
|
54
47
|
for (const applicationId in verticalScalerConfig.applications) {
|
package/test/spawn.test.js
CHANGED
|
@@ -16,7 +16,7 @@ const __dirname = dirname(__filename)
|
|
|
16
16
|
const require = createRequire(import.meta.url)
|
|
17
17
|
const platformaticVersion = require('@platformatic/runtime/package.json').version
|
|
18
18
|
|
|
19
|
-
test
|
|
19
|
+
test('should spawn a service app sending the state', async (t) => {
|
|
20
20
|
const applicationName = 'test-app'
|
|
21
21
|
const applicationId = randomUUID()
|
|
22
22
|
const applicationPath = join(__dirname, 'fixtures', 'service-1')
|