Skip to content
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

feat: タイムラインのキャッシュの挙動を整理する #599

Open
laminne opened this issue Jul 28, 2024 · 0 comments
Open

feat: タイムラインのキャッシュの挙動を整理する #599

laminne opened this issue Jul 28, 2024 · 0 comments
Labels
T: improvement Improvement of functions, etc.

Comments

@laminne
Copy link
Member

laminne commented Jul 28, 2024

現状

以下2つのタイムラインをキャッシュしている

  • 各アカウントごとのHomeタイムライン
  • リスト

問題と解決法

  • キャッシュ件数の制限がない
  • 概ね800件を最大にしたい(mastodonの制限)
  • 凍結されたアカウントのタイムラインのキャッシュは無駄になる
  • キャッシュを一時オフにして、凍結が解除されたら再開する
    • このとき数十件程度は投稿を入れた状態にしておく
  • 長い期間ログインしていないアカウントのキャッシュは無駄になる
  • キャッシュを一時オフにして、ログインしたら再開する
    • このとき数十件程度は投稿を入れた状態にしておく
@laminne laminne added the T: improvement Improvement of functions, etc. label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: improvement Improvement of functions, etc.
Projects
Status: Todo
Development

No branches or pull requests

1 participant