Schedule XHR responses instead of delivering them on the second
Bandwidth calculation uses the length of the XHR so rounding delivery up to the nearest second can skew results. Instead, calculate the delivery time of XHRs and schedule a timeout to set the response body.
Showing
1 changed file
with
30 additions
and
29 deletions
-
Please register or sign in to post a comment