@abtnode/constant 1.17.11 → 1.17.12-beta-20260305-075842-d5ef1b51
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/dist/index.cjs +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -601,6 +601,7 @@ const WELLKNOWN_SERVER_ADMIN_PATH = "/.well-known/server/admin";
|
|
|
601
601
|
|
|
602
602
|
//#endregion
|
|
603
603
|
//#region src/backup.js
|
|
604
|
+
const autoBackupInterval = Number(process.env.ABT_NODE_AUTO_BACKUP_INTERVAL) || 480 * 60;
|
|
604
605
|
const BACKUPS = {
|
|
605
606
|
STATUS: {
|
|
606
607
|
PROGRESS: null,
|
|
@@ -612,7 +613,7 @@ const BACKUPS = {
|
|
|
612
613
|
AUTO: 0,
|
|
613
614
|
MANUAL: 1
|
|
614
615
|
},
|
|
615
|
-
JOB: { INTERVAL:
|
|
616
|
+
JOB: { INTERVAL: autoBackupInterval }
|
|
616
617
|
};
|
|
617
618
|
const CHECK_UPDATE = {
|
|
618
619
|
STATUS: {
|
package/dist/index.mjs
CHANGED
|
@@ -600,6 +600,7 @@ const WELLKNOWN_SERVER_ADMIN_PATH = "/.well-known/server/admin";
|
|
|
600
600
|
|
|
601
601
|
//#endregion
|
|
602
602
|
//#region src/backup.js
|
|
603
|
+
const autoBackupInterval = Number(process.env.ABT_NODE_AUTO_BACKUP_INTERVAL) || 480 * 60;
|
|
603
604
|
const BACKUPS = {
|
|
604
605
|
STATUS: {
|
|
605
606
|
PROGRESS: null,
|
|
@@ -611,7 +612,7 @@ const BACKUPS = {
|
|
|
611
612
|
AUTO: 0,
|
|
612
613
|
MANUAL: 1
|
|
613
614
|
},
|
|
614
|
-
JOB: { INTERVAL:
|
|
615
|
+
JOB: { INTERVAL: autoBackupInterval }
|
|
615
616
|
};
|
|
616
617
|
const CHECK_UPDATE = {
|
|
617
618
|
STATUS: {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.17.
|
|
6
|
+
"version": "1.17.12-beta-20260305-075842-d5ef1b51",
|
|
7
7
|
"description": "ABT Node constants",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "./dist/index.cjs",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
},
|
|
31
31
|
"author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "acd0ba5cec3f23d4fe31d11cb3006a8c160dc4e4"
|
|
34
34
|
}
|