Script Report Loading Report Timeout

I have a custom script report for Integration Request that loads continuously for rows greater than 600

When i call the function which generates the report on the desk from the console and pass my filters.It executes successfully

The report only generates for rows < 600
frappe version = 10.1.45
erpnext version = 10.1.48

Any suggestions or help will be appreciated