You are here

function throttle_help in Drupal 5

Same name and namespace in other branches
  1. 4 modules/throttle.module \throttle_help()
  2. 6 modules/throttle/throttle.module \throttle_help()

Implementation of hook_help().

File

modules/throttle/throttle.module, line 123
Allows configuration of congestion control auto-throttle mechanism.

Code

function throttle_help($section) {
  switch ($section) {
    case 'admin/help#throttle':
      $output = '<p>' . t('The throttle module provides a congestion control throttling mechanism for automatically detecting a surge in incoming traffic. If the site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This mechanism is utilized by other modules to automatically optimize their performance by temporarily disabling CPU-intensive functionality. For example, in the site theme, you might choose to disable pictures when the site is too busy (reducing bandwidth), or in modules, you might choose to disable some complicated logic (reducing CPU utilization).') . '</p>';
      $output .= '<p>' . t('The congestion control throttle can be automatically enabled when the number of anonymous or authenticated users currently visiting the site exceeds the specified threshold. ') . '</p>';
      $output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="@throttle">Throttle page</a>.', array(
        '@throttle' => 'http://drupal.org/handbook/modules/throttle/',
      )) . '</p>';
      return $output;
    case 'admin/settings/throttle':
      return '<p>' . t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a congestion control throttling mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal modules to automatically optimize their performance by temporarily disabling CPU-intensive functionality.') . '</p>';
  }
}