Skip to content

Commit 373898c

Browse files
committed
docs(webapp): state that the debounce ceiling is a default, not an enforced limit
A trigger that sets maxDelay uses that value even when it is longer than the configured ceiling, so the setting bounds only the triggers that omit it. Say so where an operator reads it.
1 parent 39c8055 commit 373898c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/webapp/app/env.server.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,9 @@ const EnvironmentSchema = z
10451045
* trigger. Unset by default: a continuously triggered debounce key is pushed back for as
10461046
* long as the triggers keep coming, and `debounce.maxDelay` on the trigger is the only
10471047
* bound. Setting this applies a ceiling to every debounced run that does not carry its own
1048-
* `maxDelay`, and any `delay` at or above it stops runs from being pushed at all.
1048+
* `maxDelay`, and any `delay` at or above it is rejected at trigger time. It is a default
1049+
* rather than an enforced limit: a trigger that sets `maxDelay` uses that value even when it
1050+
* is longer than this.
10491051
*/
10501052
RUN_ENGINE_MAXIMUM_DEBOUNCE_DURATION_MS: OptionalPositiveIntEnv,
10511053

0 commit comments

Comments
 (0)