The delay was already discussed in the TwitchDev Chat server and actually the webhook notices the stream events within seconds but waits for the helix endpoint to pick it up bcs there is some sort of cache in between. But they work on reducing the delays!
There’s unfortunately some inconsistent caching of stream data in some of our internal services
Our Webhooks service actually knows about the stream going up/down before our API, but we wait for all caches to be cleared before we send the payload
This way the webhook payload isn’t ever inconsistent with our API endpoint (although there might be a delay)
We’re resolving this at the beginning of next year
that what was said there