• Resolved Daniel P.

    (@danidub)


    Hi, we are using your plugin in a clients website but we have found that the function apa_set_session_values is taking about 100 sec to complete. Taking our resources and timeouts down.

    Any ideas on why this could be happening? Or what would be causing this resources consuming coming from this function?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author apasionados

    (@apasionados)

    Hi @danidub,

    This function is not complicated and never should take so long to complete as it only takes $_SESSION values.

    How did you check this so that we can test it on our staging servers?

    Best regards from Spain.

    Thread Starter Daniel P.

    (@danidub)

    We check the response time through New Relic, a metric tool for resources.

    I have found that we are using Geolocation IP Detection 3.3.0 and Lead info with country for Contact Form 7 2.0

    Maybe those versions are the responsible for this resource consumption. A solution could be to update them both and re-test. What do you think?

    Regards from Spain, to be more specific from A Coruña 🙂

    Plugin Author apasionados

    (@apasionados)

    Hi @danidub,

    Just tested with New Relic and we don’t get so long times to complete apa_set_session_values.

    First thing I would try is to deactivate Geolocation IP Detection and see what response time you get without it. If you use an external service to resolve the IP the query can take very long.

    Best regards from Valencia.

    Thread Starter Daniel P.

    (@danidub)

    Great, thank you, I will try and let you know!

    Thread Starter Daniel P.

    (@danidub)

    Hey @apasionados parece que al actualizar ambos plugins el problema se ha solucionado. Gracias por la ayuda 🙂

    Plugin Author apasionados

    (@apasionados)

    Perfecto.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘apa_set_session_values function takes more than 100 seconds’ is closed to new replies.