Commit 659efbf
feat(webapp): expose debounce fast-path/quantization knobs as env vars
Per Devin Review: the previous PR threaded only `useReplicaForFastPathRead`
from the env. `quantizeNewDelayUntilMs` and `fastPathSkipEnabled` were
hardcoded to their RunEngine defaults, so operators couldn't tune or
disable them without a code change.
Adds:
- `RUN_ENGINE_DEBOUNCE_QUANTIZE_NEW_DELAY_UNTIL_MS` (default 1000ms, 0 to
disable)
- `RUN_ENGINE_DEBOUNCE_FAST_PATH_SKIP_ENABLED` (default "1", set to "0"
as a kill-switch if the fast-path needs to be disabled in production
without a redeploy)
Co-Authored-By: Eric Allam <eallam@icloud.com>1 parent 5cca5f2 commit 659efbf
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
669 | 684 | | |
670 | 685 | | |
671 | 686 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
217 | 219 | | |
218 | 220 | | |
219 | 221 | | |
| |||
0 commit comments