anatawa12 cbc53de823 fix: RateLimiterService (#13997)
* fix rate limit check never ends

* fix: long term / short term limitがないときでもそれぞれ用のnew Limiterとlimiter.getが呼ばれる問題

* refactor: wrap ratelimiter with promise

* refactor: reimplement max/min with async

* refactor: reimplement limit with async

* refactor: do not check long term limit inside min

* refactor: check if there is rate limit inside min/max function

* refactor: remove unnecessary return in min/max function

* refactor: remove unnecessary max/min function

* refactor: return rate limit instead of throwing an object

* fix: レートリミットのfactorが二回適用されて二乗の効果がある問題を修正

* fix lint error

---------

Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2025-05-11 15:37:46 +09:00
2022-06-09 00:50:23 +09:00
🎨
2025-05-07 10:44:43 +09:00
🎨
2025-05-11 14:23:58 +09:00
2025-05-11 15:37:46 +09:00
2024-11-16 15:32:51 +09:00
2018-08-13 00:24:45 +09:00
2025-05-11 15:37:46 +09:00
2023-02-26 14:17:29 +09:00
2025-01-04 14:37:14 +09:00
2018-03-28 22:56:28 +09:00
2025-05-10 03:58:55 +00:00
2019-04-05 18:17:30 +09:00
2024-05-31 20:42:02 +09:00
2024-01-04 08:44:38 +09:00
2025-02-01 13:57:39 +09:00

Misskey logo

🌎 Misskey is an open source, federated social media platform that's free forever! 🚀

Learn more


find an instance create an instance become a contributor join the community become a patron

Thanks

Sentry

Thanks to Sentry for providing the error tracking platform that helps us catch unexpected errors.

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Codecov

Thanks to Codecov for providing the code coverage platform that helps us improve our test coverage.

Crowdin

Thanks to Crowdin for providing the localization platform that helps us translate Misskey into many languages.

Docker

Thanks to Docker for providing the container platform that helps us run Misskey in production.

Description
No description provided
Readme AGPL-3.0 448 MiB
Languages
TypeScript 62.4%
Vue 30.7%
JavaScript 6%
GLSL 0.4%
SCSS 0.3%