Sharkey/packages/backend/src
dakkar eb47474f95 UNTESTED rough idea to tweak rate limits
This is probably not the code we want, but it's the simplest way I
could think of to show my idea.

To let instance users make more requests than non-logged-in users, we
could just set a higher `factor`. In this example, I used 2.

This is equivalent to setting a conditional role, that applies to all
local users, that sets the `rateLimitFactor` to 2 (or, better said, to
twice whatever the admins have set already).

A different approach would be to equip each endpoint with 2 rate
limits, for logged-in users and for others.

Discuss.
2024-11-29 16:57:39 +00:00
..
@types revert 5f88d56d96 2024-07-20 21:33:20 +09:00
boot chore: update donation links in backend and frontend 2024-09-06 21:25:38 +00:00
core merge: Clear jobs from blocked domains (resolves #773) (!720) 2024-11-29 10:29:27 +00:00
daemons Merge remote-tracking branch 'misskey/master' into feature/2024.9.0 2024-10-09 15:17:22 +01:00
misc lint 2024-11-27 19:26:56 +00:00
models upd: add FriendlyCaptcha as a captcha solution 2024-11-02 02:20:35 +01:00
queue merge: Clear jobs from blocked domains (resolves #773) (!720) 2024-11-29 10:29:27 +00:00
server UNTESTED rough idea to tweak rate limits 2024-11-29 16:57:39 +00:00
config.ts add separate limits for CW length 2024-10-26 10:04:23 -04:00
const.ts separate character limits for local and remote notes 2024-10-26 09:49:28 -04:00
decorators.ts refactor(backend): use Reflet for autobind deco (#14482) 2024-09-15 17:43:24 +09:00
di-symbols.ts Merge remote-tracking branch 'misskey/master' into feature/2024.9.0 2024-10-09 15:17:22 +01:00
env.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
global.d.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
GlobalModule.ts fix(backend): RBTの修正 (#14621) 2024-09-24 18:29:02 +09:00
logger.ts refactor(backend): remove unused logger option 2024-06-06 10:01:50 +09:00
MainModule.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
NestLogger.ts lint fixes 2024-06-06 11:40:11 +09:00
postgres.ts revert accidental change to postgres.ts 2024-10-15 14:16:46 -04:00
types.ts Merge branch 'develop' into feature/2024.9.0 2024-10-18 22:00:07 +01:00