Commit 84a6150
improvement(webhooks): overlap the webhook path lookup with body parsing
findAllWebhooksForPath depends only on the request path, so the ingest
route starts it before reading the body stream and awaits it after the
challenge short-circuit — one round trip off the pre-ack path. A challenge
response abandons a read-only query.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 5bb6fae commit 84a6150
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
144 | 151 | | |
145 | 152 | | |
146 | 153 | | |
| |||
159 | 166 | | |
160 | 167 | | |
161 | 168 | | |
162 | | - | |
163 | | - | |
| 169 | + | |
| 170 | + | |
164 | 171 | | |
165 | 172 | | |
166 | 173 | | |
| |||
0 commit comments