TypeScript
fix(relay): run the relay Worker next to its database (#22065)
Julius Marminge758d773f578f
diff --git a/infra/relay/src/worker.ts b/infra/relay/src/worker.tsindex 2d3e388ceb1..a910a30649a 100644--- a/infra/relay/src/worker.ts+++ b/infra/relay/src/worker.ts@@ -118,6 +118,10 @@ export const layer = Api.make(date: "2026-05-22",flags: ["nodejs_compat"],},+ // Requests run several Postgres queries in sequence. At the user's edge+ // each one paid the round trip to the database (~300 ms from JNB); next+ // to PlanetScale `us-west` the request pays that distance once.+ placement: { region: "aws:us-west-2" },domain: relayPublicDomain,})),Effect.orDie,