@blocklet/cli 1.16.49-beta-20250821-102221-1b7283d6 → 1.16.49-beta-20250822-070545-6d3344cc
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.
|
@@ -388,7 +388,6 @@ exports.run = async ({
|
|
|
388
388
|
},
|
|
389
389
|
runtimeConfig: {
|
|
390
390
|
daemonMaxMemoryLimit: Math.floor(daemonMaxMemoryLimit * 1024),
|
|
391
|
-
proxyMaxMemoryLimit: BLOCKLET_MAX_MEM_LIMIT_IN_MB,
|
|
392
391
|
blockletMaxMemoryLimit: Math.floor(blockletMaxMemoryLimit * 1024),
|
|
393
392
|
},
|
|
394
393
|
didRegistry: (process.env.ABT_NODE_DID_REGISTRY || didRegistry || DEFAULT_DID_REGISTRY).trim(),
|
|
@@ -99,7 +99,6 @@ const updateVersionInConfigFileAndState = async (config, configFile, node) => {
|
|
|
99
99
|
runtimeConfig: {
|
|
100
100
|
daemonMaxMemoryLimit: calculatedLimit,
|
|
101
101
|
blockletMaxMemoryLimit: get(info, 'runtimeConfig.blockletMaxMemoryLimit', BLOCKLET_MAX_MEM_LIMIT_IN_MB),
|
|
102
|
-
proxyMaxMemoryLimit: get(info, 'runtimeConfig.proxyMaxMemoryLimit', DAEMON_MAX_MEM_LIMIT_IN_MB),
|
|
103
102
|
},
|
|
104
103
|
});
|
|
105
104
|
if (semver.neq(config.node.version, version)) {
|
|
@@ -150,7 +149,6 @@ const getDifferentAttributes = (dbInfo, config) => {
|
|
|
150
149
|
{ name: 'routing.enableIpServer', type: Boolean, required: false },
|
|
151
150
|
{ name: 'mode', type: String, required: false },
|
|
152
151
|
// { name: 'runtimeConfig.daemonMaxMemoryLimit', type: Number, required: false },
|
|
153
|
-
{ name: 'runtimeConfig.proxyMaxMemoryLimit', type: Number, required: false },
|
|
154
152
|
{ name: 'runtimeConfig.blockletMaxMemoryLimit', type: Number, required: false },
|
|
155
153
|
{ name: 'didRegistry', type: String, required: true },
|
|
156
154
|
{ name: 'didDomain', type: String, required: true },
|
|
@@ -432,7 +430,7 @@ const exec = async ({ workingDir, config, dataDir, mode, updateDb, forceIntranet
|
|
|
432
430
|
|
|
433
431
|
const configFile = await getConfigFile(workingDir);
|
|
434
432
|
|
|
435
|
-
const
|
|
433
|
+
const blockletMaxMemoryLimit = get(config, 'node.runtimeConfig.blockletMaxMemoryLimit', BLOCKLET_MAX_MEM_LIMIT_IN_MB);
|
|
436
434
|
|
|
437
435
|
// 如果日志目录不存在,pm2 会启动可能会失败, 测试发现 docker 里的 Ubuntu 18.04.4 LTS 系统会失败,
|
|
438
436
|
// MAC OS 下正常,但是没搞明白为什么
|
|
@@ -443,7 +441,7 @@ const exec = async ({ workingDir, config, dataDir, mode, updateDb, forceIntranet
|
|
|
443
441
|
const { node, getBaseUrls, publishEvent, wallet } = await nodeLib.getNode({ dir: workingDir });
|
|
444
442
|
|
|
445
443
|
// start event-hub
|
|
446
|
-
const [eventHubPort, pm2EventHubPort] = await startEventHub(logDir,
|
|
444
|
+
const [eventHubPort, pm2EventHubPort] = await startEventHub(logDir, blockletMaxMemoryLimit, config.node.sk);
|
|
447
445
|
|
|
448
446
|
return new Promise((resolve) => {
|
|
449
447
|
node.onReady(async () => {
|
|
@@ -537,7 +535,6 @@ const exec = async ({ workingDir, config, dataDir, mode, updateDb, forceIntranet
|
|
|
537
535
|
'node.runtimeConfig.blockletMaxMemoryLimit',
|
|
538
536
|
BLOCKLET_MAX_MEM_LIMIT_IN_MB
|
|
539
537
|
),
|
|
540
|
-
proxyMaxMemoryLimit: get(latest, 'node.runtimeConfig.proxyMaxMemoryLimit', DAEMON_MAX_MEM_LIMIT_IN_MB),
|
|
541
538
|
},
|
|
542
539
|
};
|
|
543
540
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/cli",
|
|
3
|
-
"version": "1.16.49-beta-
|
|
3
|
+
"version": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
4
4
|
"description": "Command line tools to manage Blocklet Server",
|
|
5
5
|
"homepage": "https://github.com/ArcBlock/blocklet-server#readme",
|
|
6
6
|
"bin": {
|
|
@@ -35,28 +35,28 @@
|
|
|
35
35
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@abtnode/blocklet-services": "1.16.49-beta-
|
|
39
|
-
"@abtnode/constant": "1.16.49-beta-
|
|
40
|
-
"@abtnode/core": "1.16.49-beta-
|
|
41
|
-
"@abtnode/db-cache": "1.16.49-beta-
|
|
42
|
-
"@abtnode/logger": "1.16.49-beta-
|
|
43
|
-
"@abtnode/models": "1.16.49-beta-
|
|
44
|
-
"@abtnode/router-provider": "1.16.49-beta-
|
|
45
|
-
"@abtnode/util": "1.16.49-beta-
|
|
46
|
-
"@abtnode/webapp": "1.16.49-beta-
|
|
38
|
+
"@abtnode/blocklet-services": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
39
|
+
"@abtnode/constant": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
40
|
+
"@abtnode/core": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
41
|
+
"@abtnode/db-cache": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
42
|
+
"@abtnode/logger": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
43
|
+
"@abtnode/models": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
44
|
+
"@abtnode/router-provider": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
45
|
+
"@abtnode/util": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
46
|
+
"@abtnode/webapp": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
47
47
|
"@arcblock/did": "1.22.2",
|
|
48
48
|
"@arcblock/event-hub": "1.22.2",
|
|
49
49
|
"@arcblock/ipfs-only-hash": "^0.0.2",
|
|
50
50
|
"@arcblock/jwt": "1.22.2",
|
|
51
51
|
"@arcblock/ws": "1.22.2",
|
|
52
|
-
"@blocklet/constant": "1.16.49-beta-
|
|
52
|
+
"@blocklet/constant": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
53
53
|
"@blocklet/error": "^0.2.5",
|
|
54
54
|
"@blocklet/form-collector": "^0.1.8",
|
|
55
|
-
"@blocklet/images": "1.16.49-beta-
|
|
56
|
-
"@blocklet/meta": "1.16.49-beta-
|
|
57
|
-
"@blocklet/resolver": "1.16.49-beta-
|
|
58
|
-
"@blocklet/server-js": "1.16.49-beta-
|
|
59
|
-
"@blocklet/store": "1.16.49-beta-
|
|
55
|
+
"@blocklet/images": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
56
|
+
"@blocklet/meta": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
57
|
+
"@blocklet/resolver": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
58
|
+
"@blocklet/server-js": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
59
|
+
"@blocklet/store": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
60
60
|
"@blocklet/theme-builder": "^0.4.6",
|
|
61
61
|
"@ocap/client": "1.22.2",
|
|
62
62
|
"@ocap/mcrypto": "1.22.2",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"engines": {
|
|
155
155
|
"node": ">=14"
|
|
156
156
|
},
|
|
157
|
-
"gitHead": "
|
|
157
|
+
"gitHead": "c5560fe749fe495b03003ac7325da29c71f5e62b",
|
|
158
158
|
"devDependencies": {
|
|
159
159
|
"@types/fs-extra": "^11.0.4",
|
|
160
160
|
"@types/jest": "^29.5.13"
|