server: reduce dead instance detection to 7 days

This commit is contained in:
Johann150 2022-11-09 18:47:28 +01:00
parent 2496b385ce
commit ca90cedba0
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -6,7 +6,7 @@ import { DAY } from '@/const.js';
// Threshold from last contact after which an instance will be considered // Threshold from last contact after which an instance will be considered
// "dead" and should no longer get activities delivered to it. // "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. * Returns the subset of hosts which should be skipped.