Commit 435f410
committed
fix(webapp): treat a zero debounce ceiling as no ceiling rather than a boot failure
Zero was previously a legal value meaning the window closes on the first
push, so rejecting it would stop an existing deployment from starting
after an upgrade. Accepting it as a real ceiling is worse still, since
the trigger-time check would then reject every debounced trigger. Zero
and blank now both mean no ceiling, which keeps the setting switchable
off and leaves negatives and garbage rejected.
Also note in the docs that a trigger omitting maxDelay now has no bound
at all, where it previously fell back to the built-in ceiling.1 parent 373898c commit 435f410
2 files changed
Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
| |||
1047 | 1053 | | |
1048 | 1054 | | |
1049 | 1055 | | |
1050 | | - | |
| 1056 | + | |
1051 | 1057 | | |
1052 | | - | |
| 1058 | + | |
1053 | 1059 | | |
1054 | 1060 | | |
1055 | 1061 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
936 | | - | |
937 | | - | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
938 | 939 | | |
939 | 940 | | |
940 | 941 | | |
| |||
0 commit comments