Add link to Knowledge Base article when flood limit's reached

Created on 6 October 2022, about 2 years ago
Updated 18 September 2024, 2 months ago

Problem/Motivation

There is an Acquia Knowledge Base article about flood control mechanism here. This explains what happens when the query limits have been reached. (e.g. The 'Flood protection has blocked request of type select.' is logged, and/or a message on the screen appears. This is thrown by the Flood helper, or the SearchSubscriber). The helper/subscriber however does not link to this article confusing site owners about the error - not knowing the config value behind this error can be changed and is there to protect from bot/DOS attacks or high value traffics targeting those queries.

Steps to reproduce

Use high traffic on search pages where acquia_search is used, and reach the limit of flood control set.

Proposed resolution

Update the error message in Flood and in SearchSubscriber to involve the link to the article.

Remaining tasks

-

User interface changes

When the limit is reached, the message displayed on the screen changes, and includes a link to the KB article. Also, the error message logged has the link to the KB article.

API changes

-

Data model changes

-

Feature request
Status

Fixed

Version

3.1

Component

Code

Created by

🇭🇺Hungary balintpekker Budapest, Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024