Pages Project Deployments timing out

We are still seeing intermittent issues with our project dashboard, although I have written a working cron script to delete deployments and shrink that number down to below 500. The main difference is in the API request params for fetching deployments of a project - for the per_page param the value is set to 10 instead of 15, anything above 10 seems to run into the 504 timeout response, the higher the value the more frequent we see the 504.