Eliminate OTK Redis overhead and proxy log noise for message fetches

Performancekamo-internal
Shipped
2026年3月12日 03:03 UTC
Author
kamo
Commit
b17dbb1

- Bypass OTK generation in the MediaService proxy route: forward the *** cookie directly instead of generating a one-time key, removing 4 Redis round-trips per request (EXISTS + SETEX in Next.js, GET + DELETE in MediaService via OTKPreAuthFilter) - Remove 20 console.log/warn calls from generateOTK, buildForwardHeaders, forwardToApi, and forwardToMediaService that fired on every request

All changes

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价