We've seen the plotting data returned to the front end for DRC growing too big and it causing issues with transfer and serializing times. Serializing to json taking about 35s and data transfer can take several minutes which is causing problems for people on slower connections. The serialized json is going to 600MB which is too big for a single response. This PR puts in a temporary fix to cut down the number of indicators returned, eventually we will split this data transfer up instead to send a request to get plotting data for each indicator/time separately. But this is a quick fix for now.
We've seen the plotting data returned to the front end for DRC growing too big and it causing issues with transfer and serializing times. Serializing to json taking about 35s and data transfer can take several minutes which is causing problems for people on slower connections. The serialized json is going to 600MB which is too big for a single response. This PR puts in a temporary fix to cut down the number of indicators returned, eventually we will split this data transfer up instead to send a request to get plotting data for each indicator/time separately. But this is a quick fix for now.