-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: judge domain block and silence by endsWith (federation/instances) #12293
base: develop
Are you sure you want to change the base?
Fix: judge domain block and silence by endsWith (federation/instances) #12293
Conversation
ac618cf
to
4ff88d7
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #12293 +/- ##
===========================================
- Coverage 39.89% 39.87% -0.03%
===========================================
Files 1547 1547
Lines 190970 190970
Branches 3519 2655 -864
===========================================
- Hits 76190 76140 -50
- Misses 114187 114268 +81
+ Partials 593 562 -31 ☔ View full report in Codecov by Sentry. |
このPRによるapi.jsonの差分 差分はこちら |
パフォーマンスへの影響が気になるわね |
一応チャート生成時に同様のクエリが走っているのでどうだろう misskey/packages/backend/src/core/chart/charts/federation.ts Lines 64 to 104 in c541ced
|
ふーむ |
#14441 の対応とPR作成から9ヶ月経ってコンフリクト出てるのもあるので、今のdevelopベースで書き直しておきますね
があり、すでにチャートのコードで毎時で呼ばれているクエリであり、60分というキャッシュ時間とクエリの実行頻度は変わらないので、問題はないと結論付けています |
73316f7
to
e59d64f
Compare
e59d64f
to
5a559a0
Compare
今のDevelopベースで書き直しました |
What
ドメインブロックとサーバーサイレンスを
endsWith
で評価しているが現状完全一致したものしか一覧には表示されないので整合性が取れてないため
federation/instances
をendsWith
に対応させるWhy
Fix: #9263
Fix: #12031
Additional info (optional)
tested on our developing environment
Checklist