hippofish/packages/backend/src/server/api
Hazel K 9ce44b24b8
fix(backend): memory leak in memory caches (#14363)
* encapsulate `MemoryKVCache<T>`

* remove infinity caches

* encapsulate other caches

* add missing awaits to internally synchronize caches

* implement pull-through caching

* tune cache lifetimes

* optimize cache GC by stopping early

* summarize changes in CHANGELOG.md

* Fix timeout comments

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

* add comments about awaiting the redis write

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-08-18 13:34:01 +09:00
..
endpoints enhance(backend): ページ、ギャラリー、Playのモデレーション強化 (#13523) 2024-08-17 15:01:08 +09:00
openapi fix(backend): api-docをScalarに変更 (#14152) 2024-07-09 21:57:19 +09:00
stream fix(backend): 無制限にストリーミングのチャンネルに接続できる問題を修正 2024-08-17 09:30:03 +09:00
ApiCallService.ts feat(backend): report Retry-After if client hit rate limit (#13949) 2024-06-13 10:56:26 +09:00
ApiLoggerService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ApiServerService.ts feat: suspend instance improvements (#13861) 2024-05-23 15:55:47 +09:00
AuthenticateService.ts fix(backend): memory leak in memory caches (#14363) 2024-08-18 13:34:01 +09:00
endpoint-base.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
endpoints.ts feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758) 2024-06-08 15:34:19 +09:00
EndpointsModule.ts feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758) 2024-06-08 15:34:19 +09:00
error.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
GetterService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
RateLimiterService.ts fix rate limit check never ends (#13994) 2024-06-15 08:42:13 +09:00
SigninApiService.ts refactor(backend): remove/replace deprecated type deps (#13252) 2024-02-16 20:09:07 +09:00
SigninService.ts fix(backend): use insertOne insteadof insert/findOneOrFail combination (#13908) 2024-06-01 11:16:44 +09:00
SignupApiService.ts fix(backend): use insertOne insteadof insert/findOneOrFail combination (#13908) 2024-06-01 11:16:44 +09:00
StreamingApiServerService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00