In the Environment Health of Service Center, when the BPTs tables has too many records, the query to show the status does not have a good performance and happen timeout query.
In specific scenario where I'm working, the problem is happening on BPT_CountErrorEvents process.
The idea is change the behavior of this page to performing ajax refresh instead of execute this query in the preparation, avoiding the crash of the page.