acquia_agent_subscription_is_active() calls acquia_agent_get_subscription() which would return a valid subscription but since that isn't stored it could result in acquia_agent_subscription_is_active() continually calling home until a cron run which will store the result. _is_active() should use acquia_agent_check_subscription() instead.

Comments

coltrane’s picture

I think this only occurs when the site hasn't phoned home in over a day so the _is_active() check triggers a call to _get_subscription() for every page request (with admin menu) until next cron run which will call _check_subscription() and update the stored timestamp.

Dane Powell’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This branch of Acquia Connector is no longer supported, per the version policy on the project homepage. As such, I'm tentatively closing this issue.

If this issue still applies to a supported branch (currently 7.x-3.x, 8.x-1.x, or 8.x-2.x), please reopen and select the new target version. Thanks!