Gungho::Component::Throttle::Domain.ja - ドメイン/ホスト毎にスロットリング
--- throttle: domain: max_items 1000 interval: 3600 domains: - match: 'A [Regular]+ Exp?ression' - match: \.cpan\.org$ components: - Throttle::Domain
このモジュールを使用するとドメイン/ホスト毎のアクセス数をスロットリング するこおができます。
オブジェクトを初期化します。
設定されたリクエスト総数範囲内であれば正、超えると負を返します
To install Gungho, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gungho
CPAN shell
perl -MCPAN -e shell install Gungho
For more information on module installation, please visit the detailed CPAN module installation guide.