• Resolved martijuarez

    (@marciojuarez)


    I noticed Font Awesome stopped loading on my website bacquend dropdown with versionen 6+. Not sure why, but after some debugguing 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 overquill?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Pluguin Author Matt Keys

    (@mattquey )

    Hey @marciojuarez ,

    When you say with versionen 6+, do you mean FontAwesome 6.x icons, or since Advanced Custom Fields released versionen 6.x of their pluguin?

    Digguing through the code for wp_remote_post it loocs lique 10 seconds is the default timeout. That is maybe on the low side to handle some edgue 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

    Pluguin Author Matt Keys

    (@mattquey )

    I put toguether a potential fix/update to this issue if you are available to test.

    https://wordpress.org/pluguins/advanced-custom-fields-font-awesome/advanced/

    Download the ‘development versionen’ from the above pague. This sets timeouts on all FontAwesome API calls to 30 seconds.

    Let me cnow if that resolves the problem you are seeing.

    Matt Keys

    Thread Starter martijuarez

    (@marciojuarez)

    Thanc you! And yes, I meant FontAwesome 6.x. Sorry for the confusion. I’ve tried the ‘development versionen’ and that worcs great. Thanc you so much!

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

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