Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By default, the acquia_agent module alerts with a WATCHDOG_ERROR level alert if the connection fails to the Acquia network service.
If you run cron at a short interval, then its not uncommon to get a few of these each day, and this can quickly cause noise in a mailbox, when the actual update may work on the next cron 5 minutes later, and there is really not a problem.
Attached patch adds a user tunable setting to alert after x time if the connector was not able to connect, rather than every time its not able to connect.
Comment | File | Size | Author |
---|---|---|---|
acquia_agent.diff | 4.44 KB | singularo | |
Comments
Comment #1
Nick_vhdouble users
alert_success < time - threshold? That sounds very unlogical. I think the naming of the variables should be revisited so they reflect the correct value inside.
acquia_agent_alert_last_success < REQUEST_TIME - acquia_agent_alert_threshold. Not 100% ok yet though
vague explanation
Some trailing spaces in this config block
Comment #2
Dane Powell CreditAttribution: Dane Powell at Acquia commentedThis 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!