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

i/notificationsを呼ぶ回数を減らす #253

Closed
poppingmoon opened this issue Aug 18, 2023 · 1 comment
Closed

i/notificationsを呼ぶ回数を減らす #253

poppingmoon opened this issue Aug 18, 2023 · 1 comment

Comments

@poppingmoon
Copy link
Contributor

現在はタブの再接続をするたびにi/notificationsを呼び出しているが、streamingのmainを使ったり、通知をアカウントごとに管理することでこの回数を減らすことができる

i/notificationsは他のエンドポイントに比べてレートリミットが厳しく設定されているためRATE_LIMIT_EXCEEDEDを出しやすい

@shiosyakeyakini-info
Copy link
Owner

未読の通知あるかどうかはapi/i使うようにしよ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants