From ca90cedba0a0704b503c2778694230f5a7dfbace Mon Sep 17 00:00:00 2001 From: Johann150 Date: Wed, 9 Nov 2022 18:47:28 +0100 Subject: [PATCH] server: reduce dead instance detection to 7 days --- packages/backend/src/misc/skipped-instances.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/misc/skipped-instances.ts b/packages/backend/src/misc/skipped-instances.ts index 2d0d5a7ae..36367b2e5 100644 --- a/packages/backend/src/misc/skipped-instances.ts +++ b/packages/backend/src/misc/skipped-instances.ts @@ -6,7 +6,7 @@ import { DAY } from '@/const.js'; // Threshold from last contact after which an instance will be considered // "dead" and should no longer get activities delivered to it. -const deadThreshold = 30 * DAY; +const deadThreshold = 7 * DAY; /** * Returns the subset of hosts which should be skipped.