Store nodeinfo per federated instances (#5578)
* Store nodeinfo per federated instances * Update fetch-nodeinfo.ts * Update fetch-nodeinfo.ts * update
This commit is contained in:
parent
2f8992f98a
commit
77c9b90e6d
8 changed files with 173 additions and 10 deletions
|
@ -13,6 +13,7 @@ import { fetchMeta } from '../../misc/fetch-meta';
|
|||
import { toPuny } from '../../misc/convert-host';
|
||||
import { validActor } from '../../remote/activitypub/type';
|
||||
import { ensure } from '../../prelude/ensure';
|
||||
import { fetchNodeinfo } from '../../services/fetch-nodeinfo';
|
||||
|
||||
const logger = new Logger('inbox');
|
||||
|
||||
|
@ -105,6 +106,8 @@ export default async (job: Bull.Job): Promise<void> => {
|
|||
isNotResponding: false
|
||||
});
|
||||
|
||||
fetchNodeinfo(i);
|
||||
|
||||
instanceChart.requestReceived(i.host);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue