Skip to content

Commit

Permalink
Merge pull request #3671 from OriginTrail/fix/cleaner-increase-freque…
Browse files Browse the repository at this point in the history
…ncy-and-max-files-deleted

Increase frequency and max number files deleted
  • Loading branch information
Mihajlo-Pavlovic authored Jan 6, 2025
2 parents 91cb3d0 + bf71da0 commit 6d682ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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 = 100_000;

export const OPERATION_ID_FILES_FOR_REMOVAL_MAX_NUMBER = 100;

Expand Down

0 comments on commit 6d682ff

Please sign in to comment.