import { Agent } from "undici"; /** * GH #423: every outbound Supabase call (PostgREST + Storage in * postgresIndex.ts / storage/client.ts) is a raw fetch() with no custom * agent, so it rode undici's default global dispatcher: a 4s * keepAliveTimeout and a small per-origin connection pool. Under real * concurrent prod traffic those sockets get evicted between requests, so * most round trips paid a fresh TCP+TLS handshake instead of reusing a * warm connection to Supabase — measured as prod's ~176ms median PostgREST * round trip vs. idle staging's ~98ms for the identical call. * * Widening the pool and keeping connections alive far longer than the * default lets concurrent prod traffic reuse warm connections to Supabase * instead of re-negotiating TLS on every request. */ declare const dispatcher: Agent; export { dispatcher }; //# sourceMappingURL=httpDispatcher.d.ts.map