Sign Up

Why does it seem like Stream sends the webhooks with a few seconds delay?

There may be a few reasons for this delay:

1) The Internet connection may be slow for some reason.  If this is the case, then try to send the webhooks without the image.

2) The hardware running Stream may be running at maximum capacity.  You can verify this by looking at the RAM and CPU utilization at times when the webhooks seems to be delayed.  If this is the case, then you will need to get a stronger machine.

3) Perhaps the receiving end of the webhooks is slow to catch the webhooks.  You can try to diagnose this by sending the webhooks to webhook.site/.

4) The delay is also dependent on max_prediction_delay parameter.  This parameter sets the maximum delay in seconds before a prediction is returned. Reducing it may lower the accuracy.

As always, we encourage you to examine and test the items above to see if you can increase the time to receiving the webhooks.