Skip to content

Commit

Permalink
Minor options tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-mcgrail committed Oct 14, 2013
1 parent 6590ff3 commit fd63444
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions options.rb
Expand Up @@ -5,10 +5,10 @@
$options.datastore = 1
$options.global_prefix = 'tki-linkcheck' # changing this will orphan hundreds of redis keys.
$options.expiry = 691_200
$options.crawl_delay = 0.5
$options.check_delay = 0.5
$options.crawl_delay = 0.2
$options.check_delay = 0.2
$options.retry_count = 2
$options.crawl_limit = 3000
$options.crawl_limit = 5000

$options.avoid = []
$options.avoid << /\/(e|m|r)\// #legacy
Expand All @@ -19,11 +19,11 @@
$options.avoid << /\/\(redirect\)\// # mailinglist archives

$options.permanently_ignore = [ ]
$options.permanently_ignore << /Search=true&filter\[\]=/ #search
$options.permanently_ignore << /mailto:/ #mailto
$options.permanently_ignore << /\);\s?$/ #href javascript
$options.permanently_ignore << /javascript:/ #href javascript
$options.permanently_ignore << /www\.tki\.org\.nz\/(about|contact|help|accessibility|privacy|feedback)(\/|$)/ #footer
$options.permanently_ignore << /Search=true&filter\[\]=/ # search
$options.permanently_ignore << /mailto:/ # mailto
$options.permanently_ignore << /\);\s?$/ # href javascript
$options.permanently_ignore << /javascript:/ # href javascript
$options.permanently_ignore << /www\.tki\.org\.nz\/(about|contact|help|accessibility|privacy|feedback)(\/|$)/ # footer
$options.permanently_ignore << /wws\/arc\// # mailinglist archives
$options.permanently_ignore << /sympa\/archive\// # mailinglist archives
$options.permanently_ignore << /\/Rate-resource\// # weird nzc url
Expand Down

0 comments on commit fd63444

Please sign in to comment.