drop latestStatus of instance
This commit is contained in:
parent
c8bd139713
commit
4d0859ce7f
4 changed files with 11 additions and 14 deletions
|
@ -85,7 +85,6 @@ export class DeliverProcessorService {
|
|||
// Update stats
|
||||
this.federatedInstanceService.registerOrFetchInstanceDoc(host).then(i => {
|
||||
this.instancesRepository.update(i.id, {
|
||||
latestStatus: 200,
|
||||
isNotResponding: false,
|
||||
});
|
||||
|
||||
|
@ -101,7 +100,6 @@ export class DeliverProcessorService {
|
|||
// Update stats
|
||||
this.federatedInstanceService.registerOrFetchInstanceDoc(host).then(i => {
|
||||
this.instancesRepository.update(i.id, {
|
||||
latestStatus: res instanceof StatusError ? res.statusCode : null,
|
||||
isNotResponding: true,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue