From c18870626357327c39fdaed50d1b13a3e6eda1fa Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Mon, 6 Jan 2025 10:42:48 +0100 Subject: [PATCH 1/3] Increase frequency and max number files deleted --- src/constants/constants.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants/constants.js b/src/constants/constants.js index 67491b9fd..86f6c9e0b 100644 --- a/src/constants/constants.js +++ b/src/constants/constants.js @@ -831,8 +831,8 @@ export const OPERATION_ID_COMMAND_CLEANUP_TIME_MILLS = 24 * 60 * 60 * 1000; * finalized commands command cleanup interval time 24h */ -export const PUBLISH_STORAGE_MEMORY_CLEANUP_COMMAND_CLEANUP_TIME_MILLS = 4 * 60 * 60 * 1000; -export const PUBLISH_STORAGE_FILE_CLEANUP_COMMAND_CLEANUP_TIME_MILLS = 24 * 60 * 60 * 1000; +export const PUBLISH_STORAGE_MEMORY_CLEANUP_COMMAND_CLEANUP_TIME_MILLS = 2 * 60 * 60 * 1000; +export const PUBLISH_STORAGE_FILE_CLEANUP_COMMAND_CLEANUP_TIME_MILLS = 2 * 60 * 60 * 1000; export const FINALIZED_COMMAND_CLEANUP_TIME_MILLS = 24 * 60 * 60 * 1000; @@ -878,7 +878,7 @@ export const COMMAND_STATUS = { REPEATING: 'REPEATING', }; -export const PENDING_STORAGE_FILES_FOR_REMOVAL_MAX_NUMBER = 100; +export const PENDING_STORAGE_FILES_FOR_REMOVAL_MAX_NUMBER = 10_000; export const OPERATION_ID_FILES_FOR_REMOVAL_MAX_NUMBER = 100; From 3aec8bab319b3c5935f0276ef231d60acbb5e0ef Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Mon, 6 Jan 2025 13:49:02 +0100 Subject: [PATCH 2/3] version bump --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7ecb4f8b7..e5a8d8f2a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "origintrail_node", - "version": "8.0.0+hotfix.4", + "version": "8.0.0+hotfix.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "origintrail_node", - "version": "8.0.0+hotfix.4", + "version": "8.0.0+hotfix.5", "license": "ISC", "dependencies": { "@comunica/query-sparql": "^2.4.3", diff --git a/package.json b/package.json index 355baaef1..3dea40529 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "origintrail_node", - "version": "8.0.0+hotfix.4", + "version": "8.0.0+hotfix.5", "description": "OTNode V8", "main": "index.js", "type": "module", From bf71da0b82486eee791dfee9ffb1fcc323a7ab9a Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Mon, 6 Jan 2025 13:50:56 +0100 Subject: [PATCH 3/3] Increase PENDING_STORAGE_FILES_FOR_REMOVAL_MAX_NUMBER --- src/constants/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/constants.js b/src/constants/constants.js index 86f6c9e0b..6813798da 100644 --- a/src/constants/constants.js +++ b/src/constants/constants.js @@ -878,7 +878,7 @@ export const COMMAND_STATUS = { REPEATING: 'REPEATING', }; -export const PENDING_STORAGE_FILES_FOR_REMOVAL_MAX_NUMBER = 10_000; +export const PENDING_STORAGE_FILES_FOR_REMOVAL_MAX_NUMBER = 100_000; export const OPERATION_ID_FILES_FOR_REMOVAL_MAX_NUMBER = 100;