From 9d50126848ad7297e8a70058dd601b6824a9275a Mon Sep 17 00:00:00 2001 From: Thant Sin Toe Date: Wed, 1 Jul 2026 12:12:14 +0700 Subject: [PATCH] set archiver fail detection configs --- package.json | 2 +- src/config/index.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2d9dd261..48561d2a 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@shardus/lib-archiver-discovery": "1.3.2", "@shardus/core": "2.16.0-prerelease.11", "@shardus/lib-crypto-utils": "4.3.3", - "@shardus/lib-net": "1.6.2", + "@shardus/lib-net": "1.6.3", "@shardus/lib-types": "1.4.4", "chalk-pipe": "^3.0.0", "decimal.js": "^10.2.0", diff --git a/src/config/index.ts b/src/config/index.ts index 843c9973..a78ca3e8 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -543,6 +543,11 @@ config = merge(config, { downNodeFilteringEnabled: false, //turning down node filtering off for diagnostics purposes initShutdown: false, + + // archiver down detection + checkNetworkStopped: true, + archiverNetworkCheckInterval: 1000 * 60 * 1, + shouldApopOnNetworkStop: false, }, features: { //This feature will restrict transactions to only coin transfers