Commit 0f99b4e
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 01ed7cc commit 0f99b4e
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