Title: set_time_limit bug
Last modified: November 24, 2021

---

# set_time_limit bug

 *  [EdwardBock](https://wordpress.org/support/users/edwardbock/)
 * (@edwardbock)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/set_time_limit-bug/)
 * Hi there,
 * in the `function acf_upgrade_all` you set the time limit to 600 without checking
   if it might be already higher or infinite (0). This might lead to maximum execution
   time errors.
 * Best regards
    Edward

The topic ‘set_time_limit bug’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [EdwardBock](https://wordpress.org/support/users/edwardbock/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/set_time_limit-bug/)
 * Status: not resolved