Commit 39c8055
committed
fix(webapp): keep a blank debounce ceiling from failing startup validation
z.coerce turns an empty string into 0, so a deployment that templates the
variable without a value would have failed the new positive check and
refused to boot. Reuse the file's existing blank-normalising pattern so
absent, empty and whitespace all mean no ceiling, while a value that is
actually set still has to be greater than zero.1 parent 61d77ea commit 39c8055
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
| |||
1041 | 1047 | | |
1042 | 1048 | | |
1043 | 1049 | | |
1044 | | - | |
| 1050 | + | |
1045 | 1051 | | |
1046 | 1052 | | |
1047 | 1053 | | |
| |||
0 commit comments