Title: Field for timeout parameter?
Last modified: October 18, 2022

---

# Field for timeout parameter?

 *  Resolved [marciojuarez](https://wordpress.org/support/users/marciojuarez/)
 * (@marciojuarez)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/field-for-timeout-parameter/)
 * I noticed Font Awesome stopped loading on my website backend dropdown with version
   6+. Not sure why, but after some debugging I noticed wp_remote_post() was timing
   out, so adding the ‘timeout’ parameter to the call would fix the issue. Is it
   good to add a field in the settings to set the timeout? Or is this overkill?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/field-for-timeout-parameter/#post-16112254)
 * Hey [@marciojuarez](https://wordpress.org/support/users/marciojuarez/),
 * When you say with version 6+, do you mean FontAwesome 6.x icons, or since Advanced
   Custom Fields released version 6.x of their plugin?
 * Digging through the code for wp_remote_post it looks like 10 seconds is the default
   timeout. That is maybe on the low side to handle some edge cases where the API
   doesn’t respond in time due to high server load or other variables.
 * I haven’t been able to reproduce the problem myself yet. Have you tested with
   a timeout value that solved your issue?
 * Matt Keys
 *  Plugin Author [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/field-for-timeout-parameter/#post-16112284)
 * I put together a potential fix/update to this issue if you are available to test.
 * [https://wordpress.org/plugins/advanced-custom-fields-font-awesome/advanced/](https://wordpress.org/plugins/advanced-custom-fields-font-awesome/advanced/)
 * Download the ‘development version’ from the above page. This sets timeouts on
   all FontAwesome API calls to 30 seconds.
 * Let me know if that resolves the problem you are seeing.
 * Matt Keys
 *  Thread Starter [marciojuarez](https://wordpress.org/support/users/marciojuarez/)
 * (@marciojuarez)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/field-for-timeout-parameter/#post-16114691)
 * Thank you! And yes, I meant FontAwesome 6.x. Sorry for the confusion. I’ve tried
   the ‘development version’ and that works great. Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Field for timeout parameter?’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields-font-awesome/assets/icon-256x256.
   jpg?rev=3435775)
 * [Advanced Custom Fields: Font Awesome Field](https://wordpress.org/plugins/advanced-custom-fields-font-awesome/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields-font-awesome/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields-font-awesome/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields-font-awesome/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields-font-awesome/reviews/)

## Tags

 * [Backend](https://wordpress.org/support/topic-tag/backend/)
 * [FontAwesome](https://wordpress.org/support/topic-tag/fontawesome/)
 * [timeout](https://wordpress.org/support/topic-tag/timeout/)

 * 3 replies
 * 2 participants
 * Last reply from: [marciojuarez](https://wordpress.org/support/users/marciojuarez/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/field-for-timeout-parameter/#post-16114691)
 * Status: resolved