diff options
| author | Gianni Ceccarelli <dakkar@thenautilus.net> | 2024-07-13 12:26:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 20:26:48 +0900 |
| commit | c83c831c53ab2367e2323737ee0f2ae89ab2de6d (patch) | |
| tree | 3094425e00e4c7d575aa51eec94253d4fad3f200 /packages | |
| parent | refactor(sw): enable noImplicitAny (#14191) (diff) | |
| download | sharkey-c83c831c53ab2367e2323737ee0f2ae89ab2de6d.tar.gz sharkey-c83c831c53ab2367e2323737ee0f2ae89ab2de6d.tar.bz2 sharkey-c83c831c53ab2367e2323737ee0f2ae89ab2de6d.zip | |
parse `notRespondingSince` from redis instance cache (#14079)
if we don't do this, we'll get a string, and `DeliverProcessorService`
will error out `i.notRespondingSince.getTime is not a function`
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/backend/src/core/FederatedInstanceService.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/backend/src/core/FederatedInstanceService.ts b/packages/backend/src/core/FederatedInstanceService.ts index 6799f2c5bb..7aeeb78178 100644 --- a/packages/backend/src/core/FederatedInstanceService.ts +++ b/packages/backend/src/core/FederatedInstanceService.ts @@ -40,6 +40,7 @@ export class FederatedInstanceService implements OnApplicationShutdown { firstRetrievedAt: new Date(parsed.firstRetrievedAt), latestRequestReceivedAt: parsed.latestRequestReceivedAt ? new Date(parsed.latestRequestReceivedAt) : null, infoUpdatedAt: parsed.infoUpdatedAt ? new Date(parsed.infoUpdatedAt) : null, + notRespondingSince: parsed.notRespondingSince ? new Date(parsed.notRespondingSince) : null, }; }, }); |