mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-20 07:05:34 +02:00
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:
@@ -4,6 +4,7 @@ import { registerOrFetchInstanceDoc } from '../../services/register-or-fetch-ins
|
||||
import Logger from '../../services/logger';
|
||||
import { Instances } from '../../models';
|
||||
import { instanceChart } from '../../services/chart';
|
||||
import { fetchNodeinfo } from '../../services/fetch-nodeinfo';
|
||||
|
||||
const logger = new Logger('deliver');
|
||||
|
||||
@@ -28,6 +29,8 @@ export default async (job: Bull.Job) => {
|
||||
isNotResponding: false
|
||||
});
|
||||
|
||||
fetchNodeinfo(i);
|
||||
|
||||
instanceChart.requestSent(i.host, true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user