Пример #1
0
 /**
  * Adjust the permissible rate limit score.
  *
  * By default, the limit is `1000`. You can use this method to set it to
  * a larger or smaller value. If you set it to `2000`, users may make twice
  * as many requests before rate limiting.
  *
  * @param int Maximum score before rate limiting.
  * @return void
  * @task ratelimit
  */
 public static function setMaximumRate($rate)
 {
     self::$maximumRate = $rate;
 }