-
-
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
Develop に追従するとログインできない(dc3629e) #13993
Comments
追加:新規アカウント作成も通らないかも |
ローカルdev環境では再現できず、misskey-tgaでは再現できる |
This comment was marked as resolved.
This comment was marked as resolved.
👀 misskey/packages/backend/src/server/api/RateLimiterService.ts Lines 28 to 30 in c51347d
|
記法的に良いのか分かりませんがここをとりあえず return max.then(ok).catch(e => reject(e)); とすると直りました |
その方針で行くのであれば |
自分も |
ok(Promiseのresolveコールバック)がエラー出すこと多分ないけどthen(ok).catch(reject)だと両方呼ばれるリスクがあるので一応thenに2つのほうが良さそうとしました |
off-topic(?): resolveを呼んでいないのはESLintのno-floating-promiseで検知されているかと思ったが、CI実行時に--quietがついているためおそらく抑制されている。これも帰ったら見る。 |
→ c51347d において |
voidにreturnしてるところで発火してもいい気はするけど、 |
💡 Summary
feat(backend): report `Retry-After` if client hit rate limit (#13949) · misskey-dev/misskey@dc3629e · GitHub
これを適用すると、新規にログインできない等の問題が発生する。
現状Developブランチにのみにあるコミットです。
🥰 Expected Behavior
🤬 Actual Behavior
📝 Steps to Reproduce
💻 Frontend Environment
🛰 Backend Environment (for server admin)
Do you want to address this bug yourself?
The text was updated successfully, but these errors were encountered: