have you had any success solving this issue or does anyone have any work-arounds? We’re having this same problem on two different sites. Both sites are hosted in Heroku where there’s hard-coded timeout of 30 seconds. If the request takes longer than that, the client receives an application error. Although the request continues to do its job, this makes the page editing very frustrating for our editors.
I profiled the code a bit with a dump from our production database and the culprit seems to be generating a new revision of the page when the existing page is saved. We could disable the revisioning, but that’s a feature we rely on.
On my local environment the issue isn’t so bad. One page that timeouts on production takes about 8-9 seconds to save on my machine. So issuing thousands of SQL queries and not so good database connection isn’t such a good combination.
We’re using ACF PRO (versions 126.96.36.199 and 5.3.7).
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2023 Advanced Custom Fields.