[match] tachyon sandbox switch

This commit is contained in:
Devin Zuczek
2026-09-21 12:49:07 -04:00
parent cf0317ab5b
commit 58a794d4e2
7 changed files with 91 additions and 73 deletions
+7
View File
@@ -68,6 +68,13 @@ export type Env = SharedHonoEnv & {
* listed twice to model two server slots on one box.
*/
TACHYON_HOST_PORT?: string
/**
* The Tachyon pool SANDBOX accounts are served from in place of `TACHYON_HOST_PORT`
* (`RECFLARE_TACHYON_HOST_PORT_SANDBOX` in `.env`) — the same comma-separated
* `host:port` list, with ids generated as `dev-1`, `dev-2`, …. Unset means sandbox
* accounts use the live pool. See `tachyonPoolFor` in match.app.ts.
*/
TACHYON_HOST_PORT_SANDBOX?: string
/**
* The Photon region every session is pinned to — both the region named in the connection
* info and the one stamped on every room instance, which must agree. Optional; unlike the