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
Change Thread OTA throttling algorithm in Matter.framework. (#37562)
Throttle by rounding up to the nearest multiple of our throttle interval, not by
just comparing to that interval. This matches the old "poll at 50ms" behavior
we had.
// If the peer node is a Thread device, check how much time has elapsed since we started processing the BlockQuery.
310
-
// If the time elapsed is greater than kBdxThrottleDefaultIntervalInMsecs, call the completion handler to respond with a Block right away.
311
-
// If time elapsed is less than kBdxThrottleDefaultIntervalInMsecs, dispatch the completion handler to respond with a Block after kBdxThrottleDefaultIntervalInMsecs has elapsed.
312
-
307
+
// If the peer node is a Thread device, check how much time has elapsed since we started processing the BlockQuery,
308
+
// round it up to the nearest multiple of kBdxThrottleDefaultInterval, and respond with the block at that point.
0 commit comments