Sharkey/packages/backend
dakkar 0c1dd73341 on 429, retry fetchAccount instead of failing
when switching between accounts, with many tabs open (10 seem to be
enough), they all hit the endpoint at the same time, and some get rate
limited.

treating a 429 as a fatal error confuses the frontend, which ends up
logging the user out of all their accounts.

this code makes the frontend retry, after waiting the appropriate
amount of time.

seems to work fine in my testing.
2024-12-13 16:18:10 +00:00
..
.vscode
assets Merge remote-tracking branch 'misskey/master' into feature/2024.9.0 2024-10-09 15:17:22 +01:00
migration Add "enable RSS" user privacy toggle 2024-12-12 08:11:55 -05:00
scripts check harder for connectibility 2024-11-05 14:21:58 +00:00
src on 429, retry fetchAccount instead of failing 2024-12-13 16:18:10 +00:00
test fix type errors from new rate limit definitions 2024-12-08 13:22:07 -05:00
test-server refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
.madgerc Create .madgerc 2022-09-20 01:04:08 +09:00
.swcrc fix: misskey-js、bubble-game、reversiのビルドをesbuildに統合する (#13600) 2024-03-30 15:28:19 +09:00
eslint.config.js implement SkRateLimiterService with Leaky Bucket rate limiting 2024-12-07 10:22:49 -05:00
jest.config.cjs enhance(backend): テストの高速化 (#12939) 2024-01-08 17:43:52 +09:00
jest.config.e2e.cjs enhance(backend): テストの高速化 (#12939) 2024-01-08 17:43:52 +09:00
jest.config.unit.cjs enhance(backend): テストの高速化 (#12939) 2024-01-08 17:43:52 +09:00
jsconfig.json
ormconfig.js longer statement_timeout for migrations - fixes 450 2024-03-09 15:38:36 +00:00
package.json UNTESTED maybe laxer match on authority - fixes #815 2024-11-29 11:39:17 +00:00
README.md chore: ✌️ 2022-12-24 14:39:17 +09:00
tsconfig.json fix linting and type checks in all packages 2024-10-15 21:41:36 -04:00

Misskey Backend