Eliminate OTK Redis overhead and proxy log noise for message fetches

Performancekamo-internal
Shipped
12 марта 2026 г. в 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

Как вы видите судоходство?

Каждое из этих обновлений автоматически попадает в ваше рабочее пространство. Начните бесплатно и смотрите, как он растет неделю за неделей.

Начните бесплатно навсегдаПосмотреть цены