Eliminate OTK Redis overhead and proxy log noise for message fetches

Performancekamo-internal
Name
lúc 03:03 12 tháng 3, 2026 UTC
Tác giả
kamo
Cam kết
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

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập