Skip to content

Commit 515e750

Browse files
committed
Clean up free session grace comment
1 parent a2daec8 commit 515e750

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

web/src/server/free-session/public-api.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,8 @@ const defaultDeps: SessionDeps = {
185185
getInstantAdmitCapacity,
186186
isWaitingRoomEnabled,
187187
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.
188+
// Read-through getter keeps the default deps aligned with config while
189+
// tests can still inject a plain graceMs value through SessionDeps.
191190
return getSessionGraceMs()
192191
},
193192
get sessionLengthMs() {

0 commit comments

Comments
 (0)