misskey-dev / misskey

🌎 An interplanetary microblogging platform 🚀
https://misskey-hub.net/
GNU Affero General Public License v3.0
9.64k stars 1.28k forks source link

parse `notRespondingSince` from redis instance cache #14079

Open dakkar opened 1 week ago

dakkar commented 1 week ago

What

Correctly extract notRespondingSince from the Redis cache. It needs to be parsed.

Why

If we don't do this, we'll get a string, and DeliverProcessorService will error out i.notRespondingSince.getTime is not a function

Checklist

github-actions[bot] commented 1 week ago

このPRによるapi.jsonの差分

差分はこちら ```diff ```

Get diff files from Workflow Page

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 65.32%. Comparing base (b269c43) to head (5db36d3). Report is 1 commits behind head on develop.

Files Patch % Lines
...kages/backend/src/core/FederatedInstanceService.ts 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #14079 +/- ## ============================================ - Coverage 77.90% 65.32% -12.59% ============================================ Files 185 1002 +817 Lines 25563 115069 +89506 Branches 487 4632 +4145 ============================================ + Hits 19916 75166 +55250 - Misses 5640 39876 +34236 - Partials 7 27 +20 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.