forked from FoundKeyGang/FoundKey
server: reduce dead instance detection to 7 days
This commit is contained in:
parent
2496b385ce
commit
ca90cedba0
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue