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
Bug fix: Do not pass all data points as parameters (#6528)
## Motivation for features / changes
This was causing "Maximum call stack size" errors when we received too
many data points.
## Technical description of changes
I am simply looping over the data points and getting the min and max
instead of passing them all to Math.min and Math.max
## Detailed steps to verify changes work correctly (as executed by you)
I ran internally hardcoding the backend to return 300,000 data points.
This caused the "Maximum call stack size" error. Then I made this change
and the data loaded. I increased the number of data points to over 1
million(timeseries call was 7mb) and the data still loaded. When I went
to 10 million data points the call failed after waiting 5 minutes.
0 commit comments