A time out error occurs when running a method on the test environment

I encountered a weird problem. The same code runs on my local environment without any errors, but a time out error occurs when running on a test environment. I don’t know if anyone has encountered the same problem.

Just like the picture below, when I click the Batch Sync Product button, a method will be executed,

But there will be a time out error message, which makes me feel very confused

Related
Recommended