1
0
This commit is contained in:
syuilo
2021-12-09 23:58:30 +09:00
parent 0abe2dfee0
commit c69b72e199
573 changed files with 3318 additions and 3318 deletions
@@ -16,7 +16,7 @@ export default class FederationChart extends Chart<FederationLog> {
return {
instance: {
total: latest.instance.total,
}
},
};
}
@@ -34,13 +34,13 @@ export default class FederationChart extends Chart<FederationLog> {
@autobind
protected async fetchActual(): Promise<DeepPartial<FederationLog>> {
const [total] = await Promise.all([
Instances.count({})
Instances.count({}),
]);
return {
instance: {
total: total,
}
},
};
}
@@ -56,7 +56,7 @@ export default class FederationChart extends Chart<FederationLog> {
}
await this.inc({
instance: update
instance: update,
});
}
}