feat: improve federation chart
This commit is contained in:
parent
7d494f1ddf
commit
f4e28983a1
5 changed files with 39 additions and 7 deletions
|
|
@ -62,7 +62,7 @@ export default async (job: Bull.Job<DeliverJobData>) => {
|
|||
|
||||
instanceChart.requestSent(i.host, true);
|
||||
apRequestChart.deliverSucc();
|
||||
federationChart.deliverd(i.host);
|
||||
federationChart.deliverd(i.host, true);
|
||||
});
|
||||
|
||||
return 'Success';
|
||||
|
|
@ -77,6 +77,7 @@ export default async (job: Bull.Job<DeliverJobData>) => {
|
|||
|
||||
instanceChart.requestSent(i.host, false);
|
||||
apRequestChart.deliverFail();
|
||||
federationChart.deliverd(i.host, false);
|
||||
});
|
||||
|
||||
if (res instanceof StatusError) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue