Commit Graph

16 Commits

Author SHA1 Message Date
naskya a2699e6687
chore (backend): fix imports 2024-04-20 23:04:12 +09:00
sup39 78c9911788
refactor (backend): change `!== null` to `!= null`
This actually fixes some errors 🥴

Co-authored-by: naskya <m@naskya.net>
2024-02-09 04:12:47 +09:00
ThatOneCalculator 623cadf981
Revert "chore: lint import order"
This reverts commit 8d3c35c0c6.
2023-12-04 23:12:10 -08:00
ThatOneCalculator 8d3c35c0c6
chore: lint import order 2023-11-26 12:33:46 -08:00
Namekuji f5edaaf130
perf: use msgpackr to encode and decode 2023-07-06 17:22:15 -04:00
Namekuji 722ccf04f9
rename arg 2023-07-02 23:14:43 -04:00
Namekuji 355b1e0063
no more infinity caches 2023-07-02 22:14:31 -04:00
Namekuji 76c9422d53
add cache prefix 2023-07-02 20:55:20 -04:00
Namekuji 947163fde2
store cache values to redis 2023-07-02 20:37:46 -04:00
ThatOneCalculator 6b00abf05c
refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Johann150 89c5fd0931
perf: fix caching (#8660)
The cache implementation did previously not store the results of the
computation and was thus not a cache at all. This can cause a significant
number of database queries each time someone with a large number of
followers does something that causes an activity to be federated.
2022-05-14 13:28:27 +09:00
syuilo 17589843da perf(server): use cached user info in getUserFromApId 2022-03-26 19:09:57 +09:00
syuilo ac8c66f5ab perf(server): refactor and performance improvements 2022-03-25 16:27:41 +09:00
syuilo eb9e6d230f perf(server): reduce db query 2022-03-21 01:22:00 +09:00
syuilo c69b72e199 fix lint 2021-12-09 23:58:30 +09:00
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00
Renamed from src/misc/cache.ts (Browse further)