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
Summary
When trying to fetch Reapit areas in large instances, the request takes too long and causes our back end to timeout. This is due to the large amount of unnecessary data returned. All we require is area name and id.
Detail and or supporting links and screenshots
When calling the reapit areas endpoint, an attribute of the returned objects is an areas field that contains a list of co-ordinates dictating the geographical location of the area. In certain, large instances, these arrays can be so large that they slow down the requests significantly. Due to the amount of time taken, our backend times out. It looks as if the requests can take upwards of a minute when accounting for each page, as shown here:
The reason we make this request is to allow agents to select an area when sending applicant records. For this, the only information we need from these requests is the area name and id. To cut down on unnecessary data, we already filter by officeId.
Is it possible to only request area name and id fields, or make the request in a more performant way?
The text was updated successfully, but these errors were encountered:
Summary
When trying to fetch Reapit areas in large instances, the request takes too long and causes our back end to timeout. This is due to the large amount of unnecessary data returned. All we require is area name and id.
Detail and or supporting links and screenshots
When calling the reapit areas endpoint, an attribute of the returned objects is an
areas
field that contains a list of co-ordinates dictating the geographical location of the area. In certain, large instances, these arrays can be so large that they slow down the requests significantly. Due to the amount of time taken, our backend times out. It looks as if the requests can take upwards of a minute when accounting for each page, as shown here:The reason we make this request is to allow agents to select an area when sending applicant records. For this, the only information we need from these requests is the area name and id. To cut down on unnecessary data, we already filter by officeId.
Is it possible to only request area name and id fields, or make the request in a more performant way?
The text was updated successfully, but these errors were encountered: