We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2daec8 commit 515e750Copy full SHA for 515e750
1 file changed
web/src/server/free-session/public-api.ts
@@ -185,9 +185,8 @@ const defaultDeps: SessionDeps = {
185
getInstantAdmitCapacity,
186
isWaitingRoomEnabled,
187
get graceMs() {
188
- // Read-through getter so test overrides via env still work; the value
189
- // itself is materialized once per call. Cheaper than a thunk because
190
- // callers don't have to invoke a function.
+ // Read-through getter keeps the default deps aligned with config while
+ // tests can still inject a plain graceMs value through SessionDeps.
191
return getSessionGraceMs()
192
},
193
get sessionLengthMs() {
0 commit comments