Compare commits

...

3 Commits
1.3.1 ... 1.3.2

Author SHA1 Message Date
LouisLam
2bff1ebe0f update to 1.3.2 2021-08-22 14:44:08 +08:00
LouisLam
ec0dbf3cbe probably still memory leak over time, not sure what happen, change back to singal pool. 2021-08-22 14:43:26 +08:00
LouisLam
210a0d414c fix check update interval too short 2021-08-22 14:07:56 +08:00
3 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "uptime-kuma",
"version": "1.3.1",
"version": "1.3.2",
"license": "MIT",
"repository": {
"type": "git",
@@ -17,10 +17,10 @@
"update": "",
"build": "vite build",
"vite-preview-dist": "vite preview --host",
"build-docker": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma -t louislam/uptime-kuma:1 -t louislam/uptime-kuma:1.3.1 --target release . --push",
"build-docker": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma -t louislam/uptime-kuma:1 -t louislam/uptime-kuma:1.3.2 --target release . --push",
"build-docker-nightly": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:nightly --target nightly . --push",
"build-docker-nightly-amd64": "docker buildx build --platform linux/amd64 -t louislam/uptime-kuma:nightly-amd64 --target nightly . --push",
"setup": "git checkout 1.3.1 && npm install && npm run build",
"setup": "git checkout 1.3.2 && npm install && npm run build",
"update-version": "node extra/update-version.js",
"mark-as-nightly": "node extra/mark-as-nightly.js",
"reset-password": "node extra/reset-password.js",

View File

@@ -28,7 +28,7 @@ exports.startInterval = () => {
};
check();
interval = setInterval(check, 3600 * 48);
interval = setInterval(check, 3600 * 1000 * 48);
};
exports.enableCheckUpdate = async (value) => {

View File

@@ -46,7 +46,7 @@ class Database {
useNullAsDefault: true,
pool: {
min: 1,
max: 5,
max: 1,
idleTimeoutMillis: 30000,
}
});