Background of the issue:
I am trying to publish changes, such as assigning a homepage template, on my WordPress site using the WPML plugin. The issue can be seen at the following link: hidden link.
Symptoms:
I am experiencing 502 errors when attempting to publish any change. The requests are being killed by the Long Process killer script on the site, which terminates processes running for 60 seconds or longer.
Questions:
What process related to the WPML plugin is causing the update to take so long?
How can I prevent the Long Process killer script from terminating the requests?