mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-19 23:10:10 +00:00
0c1dd73341
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. |
||
---|---|---|
.. | ||
.vscode | ||
assets | ||
migration | ||
scripts | ||
src | ||
test | ||
test-server | ||
.madgerc | ||
.swcrc | ||
eslint.config.js | ||
jest.config.cjs | ||
jest.config.e2e.cjs | ||
jest.config.unit.cjs | ||
jsconfig.json | ||
ormconfig.js | ||
package.json | ||
README.md | ||
tsconfig.json |