You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user reported that the webhooks had a latency of 1 second in various cases. This can be true as we read from the net tables when a 1 second timeout is reached, if a webhook is triggered at the end of the read, the webhook will be fired after 1 second passes.
We cannot read from the tables all the time since this would result in too much activity.
Solution
Start doing requests immediately whenever the net.http_* functions are called. Now that we use epoll, perhaps we can do it with eventfd.
This should also be easier to do with an in-memory queue.
The text was updated successfully, but these errors were encountered:
Problem
A user reported that the webhooks had a latency of 1 second in various cases. This can be true as we read from the net tables when a 1 second timeout is reached, if a webhook is triggered at the end of the read, the webhook will be fired after 1 second passes.
We cannot read from the tables all the time since this would result in too much activity.
Solution
Start doing requests immediately whenever the
net.http_*
functions are called. Now that we useepoll
, perhaps we can do it witheventfd
.This should also be easier to do with an in-memory queue.
The text was updated successfully, but these errors were encountered: