KamoCRM

Eliminate OTK Redis overhead and proxy log noise for message fetches

Performancekamo-internal
Shipped
12 மார்ச், 2026 அன்று 3:03 AM 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

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing